[ https://issues.apache.org/jira/browse/XALANJ-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661226#action_12661226 ]
Glenn Roberts commented on XALANJ-2445: --------------------------------------- My application users were not going to appreciate being told not use spaces in folder names and file names, so a better workaround was needed. For my environment this fault disappeared when all spaces in URIs were replaced by %20 (the old URL escape code) before calling the XSLT "document()" function. This was easy for me to do, as I was already using Java extension classes. Escaping the URI with "+" did not work; so there was no point trying to encode the URI using java.net.URLEncoder before calling the XSLT "document()" function. > putDocumentInCache found reparse of doc > --------------------------------------- > > Key: XALANJ-2445 > URL: https://issues.apache.org/jira/browse/XALANJ-2445 > Project: XalanJ2 > Issue Type: Bug > Security Level: No security risk; visible to anyone(Ordinary problems in > Xalan projects. Anybody can view the issue.) > Components: XPath > Affects Versions: The Latest Development Code, 2.7.1 > Environment: XP SP3, jdk1.6.0_05, xalan 2.7.1 endorsed, ant 1.7.0, > xslt task > Reporter: Guntis Ozols > > org.apache.xpath.SourceTreeManager.putDocumentInCache(int, Source) throws > "Programmer's Error! putDocumentInCache found reparse of doc: ..." at > stylesheet developers and produces incorrect results. Stylesheet developers > are not interested in this message and expect correct results. If this > message is necessary for debugging xalan, there should be assert or log > statement instead. With throws clause removed, stylesheet produces expected > results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org