[jdom-interest] Can xml-stylesheet href contain a query portion?

Jerome Jacobsen jerome.jacobsen at gentootech.com
Fri Feb 2 05:54:29 PST 2001


My xml file has the following xml-stylesheet PI:
<?xml-stylesheet href="http://myhost/DocServlet?id=46" type="text/xsl"?>

ProcessingInstruction.getValue("href") returns this:
http://myhost/DocServlet?id

I was expecting this:
http://myhost/DocServlet?id=46

Is this a bug, or is this not legal XML?  This occurs in both JDOM 1.0B5 and
the January 17,2001 JDOM
snapshot.

Thanks folks.




More information about the jdom-interest mailing list