This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Possible now in JDK 6.
Created attachment 97241 [details] Likely patch
Unfortunately does not work yet in JDK 6u18; seems the L&S impl is somewhat buggy: expected:<...encoding="UTF-8"?> <[!-- Some license or whatever. --> <?stylesheet location="here"?> <p> <t/> <c> <d> <s/> </d> </c> </p]> > but was:<...encoding="UTF-8"?> <[p> <t/> <c> <d> <s/> </d> </c> </p> <!-- Some license or whatever. --> <?stylesheet location="here"?]> > at org.openide.xml.XMLUtilTest.testIndentation2(XMLUtilTest.java:384) expected:<...//where"> <hello[]>there</hello> </roo...> but was:<...//where"> <hello[ xmlns="some://where"]>there</hello> </roo...> at org.openide.xml.XMLUtilTest.testEntityIncludes(XMLUtilTest.java:478)