Re: RFR: 8023653: xalan inconsistently parses DOMSource and StreamSource

2017-01-18 Thread huizhe wang
toph [1] https://bugs.openjdk.java.net/browse/JDK-8172974 [2] http://cr.openjdk.java.net/~clanger/webrevs/8172974.0/ -Original Message- From: Joe Wang [mailto:huizhe.w...@oracle.com] Sent: Samstag, 19. November 2016 01:50 To: Langer, Christoph Cc: core-libs-dev@openjdk.java.net Subject:

RFR: 8023653: xalan inconsistently parses DOMSource and StreamSource

2017-01-18 Thread Langer, Christoph
.java.net > Subject: Re: RFR: 8023653: xalan inconsistently parses DOMSource and > StreamSource > > Hi Christoph, > > XMLReaderManager, 175 - 186 can be replace with: > JdkXmlUtils.setXMLReaderPropertyIfSupport(reader, > NAMESPACES_FEATURE, m_NamespaceAware,

Re: RFR: 8023653: xalan inconsistently parses DOMSource and StreamSource

2016-11-18 Thread Joe Wang
Hi Christoph, XMLReaderManager, 175 - 186 can be replace with: JdkXmlUtils.setXMLReaderPropertyIfSupport(reader, NAMESPACES_FEATURE, m_NamespaceAware, false); JdkXmlUtils.setXMLReaderPropertyIfSupport(reader, NAMESPACE_PREFIXES_FEATURE, !m_NamespaceAware, false); The new test

Re: RFR: 8023653: xalan inconsistently parses DOMSource and StreamSource

2016-11-17 Thread Joe Wang
Together with 8169631, I think we need to understand your customer's requirement before spending time on a change that would otherwise be unnecesary. Why would turning off namespace-aware help him? As far as the xml standards and parser/processor are concerned, it's a backward development. A na

RFR: 8023653: xalan inconsistently parses DOMSource and StreamSource

2016-11-16 Thread Langer, Christoph
Hi, to address the long standing bug 8023653 I propose the following change: webrev: http://cr.openjdk.java.net/~clanger/webrevs/8023653.0/ bug: https://bugs.openjdk.java.net/browse/JDK-8023653 I think the bug report in general complains that the default for DOMSource input is to parse the inpu