[jdom-interest] Test - Expanding <script> element.

Daniel Rubio markup at osmosislatina.com
Wed Mar 16 12:40:10 PST 2005

Just replicated the "would-be" bug, here is what I found out from making 
the test:
                .- This behavior happens only if the input/document has 
a defined Doctype, in this case XHTML Strict or Transitional
                .- If there is no Doctype in the input/document the 
behavior is as expected, not even the xml:space="preserve" attribute is 
added to the output.

   What baffles me now is what JAR/Library in the stack takes this 
Doctype input and produces an altered final output (The not expanding 
the particular script tag appropriately and adding the 
xml:space="preserve" attribute) .

Any ideas (Xerces , Jaxen or something else in JDOM ) ?  

Attaching Test.java and and testData.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.java
Type: text/x-java
Size: 849 bytes
Desc: not available
Url : http://www.jdom.org/pipermail/jdom-interest/attachments/20050316/5fdda819/Test.bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050316/5fdda819/testData.html

More information about the jdom-interest mailing list