You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/01/02 22:24:43 UTC

DO NOT REPLY [Bug 15769] New: - org.apache.xerces.jaxp.DocumentBuilderFactoryImpl().newDocumentBuilder() is unpredictable

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=15769>.
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=15769

org.apache.xerces.jaxp.DocumentBuilderFactoryImpl().newDocumentBuilder() is unpredictable

           Summary: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl().newD
                    ocumentBuilder() is unpredictable
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: JAXP
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: dcaveney@the-wire.com


While using the "Java XML Pack Summer 02 Bundle" from Sun, 
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl().newDocumentBuilder() is 
unpredictable. Under "normal" usage it works fine, but when I try to test it 
using JUnit I get the following:

java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration
	at org.apache.xerces.parsers.DOMParser.<init>(DOMParser.java:109)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>
(DocumentBuilderImpl.java:102)
	at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder
(DocumentBuilderFactoryImpl.java:88)

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org