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