https://bugs.openjdk.java.net/browse/JDK-8029955

Rgds,Rory

On 11/12/2013 10:57, Rory O'Donnell Oracle, Dublin Ireland wrote:
Hi Dawid,

core-libs-...@openjdk.java.net has jaxp related discussions on there, it should be a
good starting point.

Rgds, Rory

On 11/12/2013 08:41, Dawid Weiss wrote:
I received an e-mail with the issue number, it's 2657290.

Dawid

On Wed, Dec 11, 2013 at 9:39 AM, Dawid Weiss <dawid.we...@gmail.com> wrote:
Hi Rory,

Which mailing list should be used to post jaxp bugs? I've just filed
an outstanding issue with valid XML parsing with the default parser.
Unfortunately the submit system doesn't let you know the bug number -
quite unfortunate.

This issue has been in there for a while -- we hit it in 2011:

http://issues.carrot2.org/browse/CARROT-813

and I finally found the time to inspect the source code and get to the
bottom of it. Better now than never :)

Anyway, this always craps out on me, any Sun-derived JDK I've tied:


import java.io.StringReader;

import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLReaderFactory;

public class Foo {
   public static void main(String[] args) throws Exception {
     StringBuilder builder = new StringBuilder();
     builder.append("<root attr=\"");
     for (int i = 0; i < 200; i++) {
       builder.append("\n");
     }
     builder.append("foo.");
     builder.append("\" />");
     final XMLReader reader = XMLReaderFactory.createXMLReader();
     System.out.println(reader.getClass().getName());
reader.parse(new InputSource(new StringReader(builder.toString())));
   }
}

Dawid


--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to