RFR 8172974 [JAXP] XALAN: Wrong result when transforming namespace unaware StAX Input
huizhe wang
huizhe.wang at oracle.com
Wed Jan 18 21:11:32 UTC 2017
Hi Christoph,
Xalan requires the underlying parser to be namespace aware. Please refer
to https://xml.apache.org/xalan-j/faq.html#faq-N10207
Thanks,
Joe
On 1/18/2017 8:26 AM, Langer, Christoph wrote:
> Hi,
>
> please review a change for JAXP.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8172974
> Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8172974.0/
>
> When enhancing the test for https://bugs.openjdk.java.net/browse/JDK-8023653, I saw that there's still an issue with StAXInputSource which is not namespace aware. This needs a small update in src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/sax2dtm/SAX2DTM2.java. Furthermore, I added the fixed warnings and formattings from the proposal http://cr.openjdk.java.net/~clanger/webrevs/8023653.0/ to this webrev, as 8023653 is an enhancement and might not go in in the near future.
>
> I also enhanced the TransformerTest to utilize data providers now and test a comprehensive matrix of XALAN input.
>
> Thanks in advance and Best regards
> Christoph
>
More information about the core-libs-dev
mailing list