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.  Entity References Support

    Posted Tue May 14, 2002 04:36 PM

    Hi,
    I have a dtd with a lot of entity references mostly external, isolat1.pen etc…, i get parse errors in conversion process(to tsd3). Are external/internal entites supported ?, if not is there some way to accomodate entities.
    regards
    Amit


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Entity References Support

    Posted Wed May 15, 2002 05:12 PM

    External entities are supported. Please post the parse error.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Entity References Support

    Posted Wed May 15, 2002 08:19 PM

    Thanks for your reply,

    The Parse error that i get is

    org.xml.SAXParseException: The external entity declaration must begin with either “SYSTEM or PUBLIC”



    The dtd is attached.
    regards
    Amit
    dw.dtd (177 KB)


    #API-Management
    #webMethods
    #Tamino


  • 4.  RE: Entity References Support

    Posted Thu May 16, 2002 10:50 AM

    Without the external entities I cannot see anything. Please post them too.


    #Tamino
    #API-Management
    #webMethods


  • 5.  RE: Entity References Support

    Posted Thu May 16, 2002 06:25 PM

    oh my mistake.
    here are the zipped files.

    amit
    missions.zip (7.08 KB)


    #webMethods
    #Tamino
    #API-Management


  • 6.  RE: Entity References Support

    Posted Tue May 21, 2002 09:20 AM

    The content of ISOdia.pen is not wellformed. It contains entity declarations like:

    but these are not valid. They should look like this:


    However the error message of Xerces 1.4 is not very good. With Xerces 2.0.1 its got better:
    XSCDCC3003: The parser reported the following critical error: “org.xml.sax.SAXParseException: OpenQuoteMissingInDecl”.
    org.xml.sax.SAXParseException: OpenQuoteMissingInDecl
    XSCDCE3006: The following error occurred during parsing: “org.xml.sax.SAXParseException: OpenQuoteMissingInDecl”.
    org.xml.sax.SAXParseException: OpenQuoteMissingInDecl

    Please note that the entity declarations are not used in the converted schema at all. They are put into the comment.
    ISOdia.pen.fixed (1.05 KB)


    #API-Management
    #webMethods
    #Tamino