[jdom-interest] XSL from JDOM
simonstl at simonstl.com
Tue Jul 25 11:21:34 PDT 2000
At 10:29 AM 7/25/00 -0700, Eddy, Joel wrote:
> The name "xsl:stylesheet" is not legal for JDOM/XML elements: : is not
> allowed in XML names..
> org.jdom.IllegalNameException: The name "xsl:stylesheet" is not legal for
> JDOM/XML elements: : is not allowed in XML names..
That's bizarre. XML 1.0 definitely allows colons in names, though it warns
that they're experimental and will probably allow their use only with
namespaces in a revision or so.
Did you include the xmlns:xsl="http://www.w3.org/1999/XSL/Transform" attribute
on your xsl:stylesheet element? Maybe something's angry about your using a
namespace prefix without declaring it.
Otherwise, it looks like a bug.
XML Elements of Style / XML: A Primer, 2nd Ed.
http://www.simonstl.com - XML essays and books
More information about the jdom-interest