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
Expand all | Collapse all

Error loading xml into Tamino

  • 1.  Error loading xml into Tamino

    Posted Thu February 16, 2006 01:33 PM

    Hello:

    I’m using Tamino 4.4.1 under windows2000. Loading a xml document into Tamino, it failed with the next Tamino response:

    
    <ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2" xmlns:xql="http://metalab.unc.edu/xql/">
    <ino:message ino:returnvalue="0">
    <ino:messageline>document processing started</ino:messageline> 
    </ino:message>
    <ino:message ino:returnvalue="7711">
    <ino:messagetext ino:code="INOXDE7711">(cvc-complex-type.2.3): mixed content error</ino:messagetext> 
    <ino:messageline>Line 23, Column 18: [content 'Henry' in element 'given']</ino:messageline> 
    </ino:message>
    </ino:response>

    The xml element that causes the problem is:

    
    <given>Henry</given>

    XMLSpy validates the xml correctly selecting the xsd. I attach the schema definition. Why XMLSpy validates correctly the document but it is not valid to Tamino?

    Thanks in advance.
    datatypesBase.xsd (36.5 KB)


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Error loading xml into Tamino

    Posted Thu February 16, 2006 07:44 PM

    Hi Carlos,
    “Henry” might of course be a very mixed person :wink:

    Could you also provide the document that fails ?
    Is it BTW all docs that fail ?

    A brief view at the schema might indicate namespace problems !

    Finn


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: Error loading xml into Tamino

    Posted Fri February 17, 2006 10:20 AM

    Hello Finn, thanks 4 replying:

    The schema I posted is an included schema inside the main one. The main schema is “CDA.xsd”, that includes “datatypes.xsd”, that includes “datatypesBase.xsd”. The “” element is defined in “datatypesBase.xsd”, and all its bases and restrictions are defined there too (as you can see in the schema). In order to avoiding “chameleon includes” I’ve set the same “targetNamespace” to all schemas: “urn:hl7-org:v3”, and all schemas have the same namespaces.

    As you requested, I’ve attached the xml document that I can’t load. I hope it helps.

    Thank you.
    ClinicalDocument.xml (47 KB)


    #API-Management
    #webMethods
    #Tamino


  • 4.  RE: Error loading xml into Tamino

    Posted Sat February 18, 2006 01:05 AM

    Hi Carlos,
    I hadn’t checked that you only sent part of the schema :frowning:

    • so I must admit I can’t get any further right now…

    Perhaps the question you (and I) should be asking is:

    • Anybody has any working HL7 schema running in Tamino already ?
      I would be surprised if not !!!

    Finn


    #Tamino
    #API-Management
    #webMethods


  • 5.  RE: Error loading xml into Tamino

    Posted Tue February 21, 2006 09:18 AM

    Hi again, Finn.

    I hope not to be the first in using HL7 v3 schemas in Tamino, but I haven’t fond any reference about that. If you hear something about that, please let me know.

    Thank you very much !!


    #Tamino
    #API-Management
    #webMethods


  • 6.  RE: Error loading xml into Tamino

    Posted Wed February 22, 2006 08:16 AM

    Hi Carlos,
    If nobody react regarding alreade implemented HL7, could you then post all the scema elements ?
    Finn


    #Tamino
    #webMethods
    #API-Management


  • 7.  RE: Error loading xml into Tamino

    Posted Thu March 16, 2006 09:57 AM

    Hello again:

    I don’t know why I can’t upload two attachments in this post :shock: :shock: . First, the xml I can’t upload:
    ClinicalDocument.xml (47 KB)


    #API-Management
    #Tamino
    #webMethods


  • 8.  RE: Error loading xml into Tamino

    Posted Thu March 16, 2006 09:59 AM

    …and now the schema definition (TSD 4.4). I’ve joined all CDA schemas in one.

    Thanks in advance:

    Carlos
    CDA.tsd (936 KB)


    #webMethods
    #API-Management
    #Tamino


  • 9.  RE: Error loading xml into Tamino

    Posted Thu March 16, 2006 11:56 AM

    I don’t know what to do. I’ve validated correctly the .xml with the .xsd schema using XMLSpy. The “ClinicalDocument.xml” seems to be valid, but Tamino validator doesn’t think the same :frowning: .

    Any suggestion will be apreciated.


    #webMethods
    #API-Management
    #Tamino