DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4591>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4591

Xerces hangs on incomplete xml

           Summary: Xerces hangs on incomplete xml
           Product: Xerces2-J
           Version: 2.0.0 [beta 2]
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have the following code which causes Xerces to hang:

import java.io.*;

import org.w3c.dom.*;
import org.xml.sax.*;
import org.apache.xerces.parsers.*;

public class Test {

public static void main (String [] args) {
  try {
    String xml = "<CUSTOMER ID=\"348263\" LOGGED_IN=\"true\" A";
    DOMParser parser = new DOMParser();
    InputSource isXml = new InputSource(new StringReader (xml));
    parser.parse(isXml);
  } catch (Exception ex) {
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to