Subject:Re: Invalid generated DTD Author:Alberto Massari Date:18 Nov 2003 11:16 AM
At 08.11 18/11/2003 -0500, stylus-studio-tech Listmanager wrote:
>From: "Denis Genard"
>With StylusStudio 5.0.127e, when generating automatically a DTD for an XML
>document, the generated DTD is invalid. The type of attributes in an
>ATTLIST is missing.
>Can a default attribute type (such as CDATA) be used for these attributes ?
Unfortunately that's is a bug in a third-party tool we ship with Stylus,
TRANG, and we have no control on it.
The known workarounds are
1) manually fix the generated DTD
2) build an internal DTD, instead of an external one; in this case, we
detect that the DTD is invalid and regenerate it from scratch using our code.
>Moreover, an attribute
> xmlns CDATA #FIXED ''
>is added to each element, which is quite annoying if you don't care about
>Can I prevent StylusStudio to generate this ?
No, TRANG has no option to turn this attribute generation off.