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.  Creating a Record from a DTD

    Posted Thu March 20, 2003 11:18 PM

    I get the below listed error while creating a webMethods Record from a DTD ( which is valid… I validated it against XML SPY)

    “Couldn’t compile
    ATTLIST attribute name not found”


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Creating a Record from a DTD

    Posted Tue March 25, 2003 09:22 PM

    Hi, lkp.

    What version of Integration Server are you running? I know that SP1 (or was it SP2?) addressed some DTD Import issues.

    Have you downloaded and installed these service packs from webMethods Advantage?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Creating a Record from a DTD

    Posted Thu March 27, 2003 05:37 PM

    Hi Dan,
    I am running Is 4.6 SP2.

    I still get the below listed exception Couldn’t compile

    com.wm.lang.xml.WMDocumentException: [B2BCORE.0042.9319] ATTLIST attribute name not found

    Any help would be gratefully appreciated.
    Thanks


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Creating a Record from a DTD

    Posted Thu March 27, 2003 10:30 PM

    Hi,
    I was able to overcome this problem by removing spaces which were infront of the entity, attribute and element declarations.
    for example, earlier, I had declared an entity as

    <!ENTITY % A " (0 | 1 | 2 | 3 | 4 | 5 | 6 )">
    I now changed it to
    <!ENTITY % A "(0 | 1 | 2 | 3 | 4 | 5 | 6 )">

    ( note that there is no space prior to (0 in the second version)
    After this change,it works fine!!! ( although both versions are valid, webMethods cannot support them!! ). I was able to create a webMethods record using this dtd.

    But now, when I try to validate my xml against this dtd ,I get another error while trying to validate (using pub.schema:validate)
    Ambiguous content model in schema - not LL(1) even though my xml is valid…

    Thanks


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods