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.  Problem with xs:include when defining an XSD

    Posted 09/07/04 05:39 AM

    I have these two xsds, where PRQ.xsd includes SystemTypes.xsd:



    - <xs:schema xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs=“XML Schema” elementFormDefault=“qualified” attributeFormDefault=“unqualified”>
    <xs:include schemaLocation=“http://localhost:8080/Bizwork/Schema/SystemTypes.xsd” />
    - xs:annotation
    - xs:appinfo
    - <tsd:schemaInfo name=“PRQSchema”>
    <tsd:collection name=“AAA” />
    - <tsd:doctype name=“PRQ”>
    - tsd:logical
    tsd:contentopen</tsd:content>
    </tsd:logical>
    </tsd:doctype>
    </tsd:schemaInfo>
    </xs:appinfo>
    </xs:annotation>
    - <xs:element name=“BizDoc”>





    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs=“XML Schema” xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” elementFormDefault=“qualified” attributeFormDefault=“unqualified”>
    xs:annotation
    xs:appinfo
    <tsd:schemaInfo name=“SystemTypesSchema”>
    <tsd:collection name=“AAA”/>
    <tsd:doctype name=“”>
    tsd:logical
    tsd:contentclosed</tsd:content>
    </tsd:logical>
    </tsd:doctype>
    </tsd:schemaInfo>
    </xs:appinfo>
    </xs:annotation>
    <xs:simpleType name=“Binary”>
    <xs:restriction base=“xs:string”>
    <xs:enumeration value=“Yes”/>
    <xs:enumeration value=“No”/>
    </xs:restriction>
    </xs:simpleType>



    I encounter the following error when trying to define PRQ.xsd, my schemaLocation is already an URI:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
    - <ino:message ino:returnvalue=“7703”>
    <ino:messagetext ino:code=“INOXDE7703”>validation has detected an error in document</ino:messagetext>
    ino:messagelineINOXDE7740: Line 2, Column 85: (cvc-complex-type.2.4): element child error [element “xs:include” in element “xs:schema”]</ino:messageline>
    </ino:message>
    </ino:response>


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Problem with xs:include when defining an XSD

    Posted 09/07/04 08:04 PM

    Hi

    I assume you are using Tamino 4.1 or older, which does not yet support xs:include.
    Tamino 4.2 supports xs:include.

    Best regards
    Uli


    #webMethods
    #API-Management
    #Tamino