Bug 179720 - Use DOM 3 L&S to implement XMLUtil.write
Use DOM 3 L&S to implement XMLUtil.write
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
All All
: P3 (vote)
Assigned To: issues@platform
Depends on:
Blocks: 179668
  Show dependency treegraph
Reported: 2010-01-20 15:24 UTC by Jesse Glick
Modified: 2013-12-27 16:35 UTC (History)
0 users

See Also:
Issue Type: TASK

Likely patch (5.91 KB, patch)
2010-04-13 19:03 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-01-20 15:24:01 UTC
Possible now in JDK 6.
Comment 1 Jesse Glick 2010-04-13 19:03:03 UTC
Created attachment 97241 [details]
Likely patch
Comment 2 Jesse Glick 2010-04-13 19:05:58 UTC
Unfortunately does not work yet in JDK 6u18; seems the L&S impl is somewhat buggy:

Some license or whatever.
<?stylesheet location="here"?>
> but was:<...encoding="UTF-8"?>
Some license or whatever.
<?stylesheet location="here"?]>
        at org.openide.xml.XMLUtilTest.testIndentation2(XMLUtilTest.java:384)

</roo...> but was:<...//where">
    <hello[ xmlns="some://where"]>there</hello>
        at org.openide.xml.XMLUtilTest.testEntityIncludes(XMLUtilTest.java:478)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo