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 2005/07/29 19:25:38 UTC
DO NOT REPLY [Bug 26028] -
setEntityResolver doesn't set resolver for filter chains of xsls
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=26028>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=26028
------- Additional Comments From carpnter@us.ibm.com 2005-07-29 19:25 -------
A similar thing happens through Xalan 2.6.0's PipeDocument extension. I've been
pounding on PipeDocument on and off all week, thinking that there was something
basic that I was missing. I should have looked here first!! :-)
I get the following trace (I've pasted just the top) when I use PipeDocument
with just a single pipe and a single source file. The source file contains a
DOCTYPE statement with a valid public ID and deliberately invalid system ID.
The entity resolves fine when I process the source file directly with my custom
app.
java.io.FileNotFoundException: C:\buildroot\ae\task.dtd (The system cannot find
the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129)
at java.io.FileInputStream.<init>(FileInputStream.java:89)
at sun.net.www.protocol.file.FileURLConnection.connect
(FileURLConnection.java:103)
at sun.net.www.protocol.file.FileURLConnection.getInputStream
(FileURLConnection.java:191)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch
(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xalan.lib.PipeDocument.usePipe(PipeDocument.java:224)
at org.apache.xalan.lib.PipeDocument.pipeDocument(PipeDocument.java:184)
I'm willing to give the fix a whirl if someone can point me in the right
direction. I'm afraid I'm pretty new at this.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org