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

Error defining a schema with interactive interface

  • 1.  Error defining a schema with interactive interface

    Posted Wed August 31, 2005 10:18 AM

    Hi all,

    My friend and I, we develop a web application using Tamino. We have installed Tamino 4.2.1 and every step went OK.

    We need to define schemas into tamino. All went ok on my computer but on his, he got errors when defining schemas with Interactive Interface.
    The error was 8711, Document not well-formed. Line 1, Column 1 : Invalid document structure.

    But when we tried to define the schemas with the schema editor, it went ok.

    Except the OS, our computer are slightly the same.

    Do you know how we could solve this problem?
    I do think that the error might come perhaps from the encoding!

    Thanks


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 10:37 AM

    Please provide a copy of the schema at fault.

    It would then be easier to investigate the problem/suggest a possible solution.


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 10:51 AM

    Here is the schema.

    Regards
    contractXDraft.tsd (32 KB)


    #API-Management
    #webMethods
    #Tamino


  • 4.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 12:26 PM

    I think that I may know what is happening.

    I just tried defining the supplied schema into my Tamino 4.2.1.6 using an interactive interface. This worked without a problem.

    I then loaded up the schema into an editor. I notice that there are “spurious” characters at the start of the file - visible if use hex edit mode. Possibly these are a UTF-8 encoding of the byte order mark allowed in XML. I have known some XML processors get tripped up this marker.

    You may find that removing the offending characters would allow the schema to be defined from within the interactive interface.


    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 12:46 PM

    I have downloaded an editor with Hex mode for xml file. I have opened the schema. I have problems finding the spurious characters. Are the spurious characters following lines?

    ...

    If not could you tell me either the poistion or the hex number of the spurious characters.

    Regards


    #Tamino
    #API-Management
    #webMethods


  • 6.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 01:15 PM

    It is possible that they are introduced by the download.

    I see the three hex characters EF BB BF as the first 3 characters in the file.


    #API-Management
    #Tamino
    #webMethods


  • 7.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 02:04 PM

    I have a problem because I can’t see those 3 characters even by downloading the file again. It could be that the application that I use doesn’t show them.

    Could you tell me what kind of editor I could use?
    Could you also send me a sample or a picture showing me those 3 chars?

    Thanks a lot.


    #webMethods
    #Tamino
    #API-Management


  • 8.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 02:36 PM

    I am using UltraEdit32 version 9. I have deselected the option “Auto Dectect UTF-8 Files”.

    These characters are the UTF-8 encoding of the “byte order mark” (BOM). If you search Google for “EF BB BF” you should see related pages.

    Applications that understand the BOM automatically hide it (e.g. XMLSpy, Notepad).


    #API-Management
    #Tamino
    #webMethods


  • 9.  RE: Error defining a schema with interactive interface

    Posted Wed August 31, 2005 04:01 PM

    Thanks.
    I have found those characters. My previous application was understanding the BOM automatically.
    Now i have to find which program has inserted those characters.

    Thanks


    #webMethods
    #API-Management
    #Tamino