RFR (JAXP): 8042244 : Re-examine the supportedness of non-SE org.w3c.dom.** API

huizhe wang huizhe.wang at oracle.com
Thu Apr 16 17:00:56 UTC 2015

Thanks Mandy!


On 4/16/2015 9:43 AM, Mandy Chung wrote:
> On 4/15/15 12:23 PM, huizhe wang wrote:
>> Please review the change related to the non-SE org.w3c.dom.** API: 
>> org.w3c.dom.css, org.w3c.dom.html, org.w3c.dom.stylesheets, 
>> org.w3c.dom.xpath.
>> They came into Java SE along with the DOM API, but were not part of 
>> the Java SE and JAXP specification. For css, html and stylesheets, 
>> there is no implementation in the Java SE,  while for xpath, an 
>> experimental one. These types should not be exported through the 
>> java.xml module. Considering that there are references to them, we're 
>> moving them into a JDK module called jdk.xml.dom. The experimental 
>> DOM 3 XPath thus is no longer available through the DOM API 
>> (DOMImplementation).
>> Please review:
>> JAXP change:
>> http://cr.openjdk.java.net/~joehw/jdk9/8042244/webrev/
>> module.xml:
>> http://cr.openjdk.java.net/~joehw/jdk9/8042244/jdk/webrev/
> This looks good.  I reviewed the updated webrev with SUID added in 
> XPathException which is the right thing to do.
> Thanks for taking on this on.
> Mandy

More information about the core-libs-dev mailing list