You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jason Harrop <jh...@bigpond.net.au> on 2000/07/05 06:38:35 UTC
xml:space attribute declaration?
Hi. I specified in the external subset of my DTD that the root element
has attribute xml:space (default|preserve) 'default'. For good measure
I've also explicitly set the xml:space attribute on the root element of
the xml document to "default".
Xerces is happy with this, and strips whitespace as expected; Xalan
(which i realise uses xsl:strip-space) when parsing the xml file says
[Error] Attribute xml:space not found in element type myRootElement
Parser error: Attribute "xml:space" must be declared for element type
"myRootElement".
What might i be doing wrong?
thanks
Jason