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.

 View Only
  • 1.  id field?

    Posted Sun May 12, 2002 05:47 PM

    X-Application Version: 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : NT, Win2k, Solaris, …
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1

    In the schema editor for tsd3 you can enter a “id” for every element. I’ve tried to have more information looking at W3C primer but all I’ve found is an element called “unique”.
    How should “id” be used in Tamino?
    Can you give me some examples or some links?
    Thank you
    Paolo :confused:


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: id field?

    Posted Mon May 13, 2002 09:55 AM

    The Tamino Schema is a subset of the XML Schema and heads towards full XML Schema support in the future. Therefore the “id” attribute is being supported as input field, too. It is unused by Tamino.
    I do not have any idea how the XML ID/IDREF mechanism makes sense on parts of a schema.

    Unique constraints in XML Schema are not created by “id” but by xs:unique. However this is not yet supported by Tamino.


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: id field?

    Posted Mon May 13, 2002 12:36 PM



    The “id” attribute is defined by the W3C standard schema standard. The spec says the following:

    “The other attributes (id and version) are for user convenience, and this specification defines no semantics for them.”

    I find this also quite strange for a standard. But
    somehow it is now part of the standard, so we support it.
    One intension of it is to access schema components from outside. The meta schema itself defines it for many schema components:
    web page

    Best regards
    Walter


    #webMethods
    #Tamino
    #API-Management


  • 4.  RE: id field?

    Posted Mon May 13, 2002 12:59 PM

    Than is it possible to tell Tamino that all the instances of root elements must have a unique sub-element?
    Say: doctype product

    Can Tamino check when you insert a new product in that document that the sub-node id has a unique value?
    Thanks for your answews!
    Paolo


    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: id field?

    Posted Mon May 13, 2002 04:09 PM

    Sorry, but currently Tamino does not provide means for that. This feature is planned for Tamino 4.1.1.

    Best regards
    Uli
    X-Application Version: 3.1.3, 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : NT, Win2k, Solaris, …
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1

    [This message was edited by Admin on 12 Nov 2002 at 12:45.]


    #API-Management
    #webMethods
    #Tamino