Creating a Record from a DTD

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”

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?

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

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