webMethods

webMethods

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.  [attribute "xsi:noNamespaceSchemaLocation"]

    Posted Mon October 28, 2002 10:52 AM

    This is the beginning of my TSD schema
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs=“http://www.w3.org/2000/10/XMLSchema” xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” elementFormDefault=“qualified”>


    This is the associated xml file
    <?xml version="1.0" encoding="UTF-8"?>


    i have define my schema in Tamino, but when process the xml i get the following error:

    - <ino:message ino:returnvalue=“7716”>
    <ino:messagetext ino:code=“INOXDE7716”>(cvc-assess-attr.1): undeclared attribute</ino:messagetext>
    ino:messagelineLine 2, Column 78: [attribute “xsi:noNamespaceSchemaLocation” in element “GeneralInformation”]</ino:messageline>
    </ino:message>


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: [attribute "xsi:noNamespaceSchemaLocation"]

    Posted Tue October 29, 2002 11:19 AM

    Hello
    as we intend to support the xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes in Tamino at some time, we have decided, that Tamino up to then has to reject documents containing those attributes.
    Best regards
    Uli


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: [attribute "xsi:noNamespaceSchemaLocation"]

    Posted Wed October 30, 2002 08:46 AM

    hi Uli,
    i’m not sure i have understood well the answer.
    I’m wondering if the problem is to remove the attribute NoNamespaceSchemaLocation in the schema or change it in
    NoNamespaceSchemaLocation=“something.tsd”, because at the end when the file are stored in Tamino in not important where in the HD are, is it true? These file can be in D:\ or E:\ but Tamino doesn’t mind of it…?
    And so my final question is, how Tamino suggests the schema associated to an xml file without NoNamespaceSchemaLocation?(e.g. because i can have many schemas and xml files in the same collection…)
    BRgs
    @nto


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: [attribute "xsi:noNamespaceSchemaLocation"]

    Posted Thu October 31, 2002 03:57 PM

    Its the root node. It has to be mapped by a doctype and the doctypes have to be unique within a collection.


    #webMethods
    #API-Management
    #Tamino