You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/18 07:06:39 UTC

[jira] Commented: (XERCESC-1859) DOMLSResourceResolver resolveResource() called for every instance of a DTD.

    [ https://issues.apache.org/jira/browse/XERCESC-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779320#action_12779320 ] 

Boris Kolpackov commented on XERCESC-1859:
------------------------------------------

Confirmed. The problem could be that DTDs don't have a key that can be used to ignore duplicate schemas like the target namespace is used in XML Schema caching. One way to address this would be to extend the fgXercesLoadSchema property to also apply to DTDs.

> DOMLSResourceResolver resolveResource() called for every instance of a DTD.
> ---------------------------------------------------------------------------
>
>                 Key: XERCESC-1859
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1859
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (DTD)
>    Affects Versions: 3.0.1
>         Environment: x86 build
>            Reporter: Ben Griffin
>         Attachments: 12421546.zip
>
>
> By overriding DOMLSResourceResolver, it can be identified that every time a DTD based document is being validated, the DTD cache is being ignored, and  
> DOMLSInput* DOMLSResourceResolver::resolveResource()  is being called to locate the relevant resource.  

-- 
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org