IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  "xs:unsignedInt" = "xs:positiveInteger" ?

    Posted 01/14/03 12:09 PM

    Hello!

    What is the difference between
    “xs:unsignedInt”
    “xs:positiveInteger” ?

    When and why should these value be used?
    What is more efficient?

    best regards,
    Dariusz Baumann


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: "xs:unsignedInt" = "xs:positiveInteger" ?

    Posted 01/14/03 01:59 PM

    positiveInteger has a lexical representation consisting of an optional positive sign (“+”) followed by a finite-length sequence of decimal digits (#x30-#x39). For example: 1, 12678967543233, +100000.

    See also http://www.w3.org/TR/xmlschema-2/#positiveInteger.

    unsignedInt has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39). For example: 0, 1267896754, 100000.

    See also http://www.w3.org/TR/xmlschema-2/#unsignedInt

    So most important difference: 0 is part of the value space of unsingnedInt, but not of the value space of positiveInteger. positiveInteger values can have a leading “+”, unsignedInt values can’t have a leading “+”.

    More efficient ? I don’t know.

    Best regards,
    Peter


    #Tamino
    #API-Management
    #webMethods