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 2002/12/02 13:08:59 UTC
DO NOT REPLY [Bug 14992] New: -
Unable to load XML when internal DTD subset refers to URL commencing "urn:"
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=14992>.
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=14992
Unable to load XML when internal DTD subset refers to URL commencing "urn:"
Summary: Unable to load XML when internal DTD subset refers to
URL commencing "urn:"
Product: Xerces2-J
Version: 2.0.2
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: DTD
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: anthony.leon@ubsw.com
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE myns:document
[ <!ENTITY company SYSTEM "urn:myns:CompanyProfile:
{//coverage}:en://companyProfile/text()">]
>
<myns:document />
loading the above via db.parse(InputStream) causes ....
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at org.apache.xerces.impl.XMLEntityManager.startEntity
(XMLEntityManager.java:740)
at org.apache.xerces.impl.XMLEntityManager.startEntity
(XMLEntityManager.java:669)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference
(XMLDocumentFragmentScannerImpl.java:1074)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(XMLDocumentFragmentScannerImpl.java:1490)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:529)
at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse
(DocumentBuilderImpl.java:201)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
Switch dbf.setExpandEntityReferences(false) does not help.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org