[ 
https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wouter Coene updated XERCESC-1814:
----------------------------------

    Description: 
As requested by Boris Kolpackov in private correspondence.

I'm working on an application which is built against Xerces 2.8.0. This 
application subclasses XMLGrammarPoolImpl to provide its own grammar caching 
behaviour. In order to control this better it would be convenient if Xerces 
would not automatically attempt to load schema grammars if they could not be 
located in the grammar pool (as can already be controlled for DTDs).

The patch I'll attach is against Xerces-C's trunk and adds a new property named 
XMLUni::fgLoadSchema, which controls this behaviour. It's already committed on 
/trunk; this issue is merely a formality for copyright grants.

  was:
As requested by Boris Kolpackov in private correspondence.

I'm working on an application which is built against Xerces 2.8.0. This 
application subclasses XMLGrammarPoolImpl to provide its own grammar caching 
behaviour. In order to control this better it would be convenient if Xerces 
would not automatically attempt to load schema grammars if they could not be 
located in the grammar pool (as can already be controlled for DTDs).

The patch I'll attach is against Xerces-C's trunk and adds a new property named 
XMLUni::fgLoadSchema, which controls this behaviour. It's already attached on 
/trunk, but this issue is necessary for copyright grants.


> Disabling automatic schema loading
> ----------------------------------
>
>                 Key: XERCESC-1814
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1814
>             Project: Xerces-C++
>          Issue Type: New Feature
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 2.8.0
>            Reporter: Wouter Coene
>            Priority: Trivial
>             Fix For: 3.0.0
>
>         Attachments: load-schema2.patch
>
>
> As requested by Boris Kolpackov in private correspondence.
> I'm working on an application which is built against Xerces 2.8.0. This 
> application subclasses XMLGrammarPoolImpl to provide its own grammar caching 
> behaviour. In order to control this better it would be convenient if Xerces 
> would not automatically attempt to load schema grammars if they could not be 
> located in the grammar pool (as can already be controlled for DTDs).
> The patch I'll attach is against Xerces-C's trunk and adds a new property 
> named XMLUni::fgLoadSchema, which controls this behaviour. It's already 
> committed on /trunk; this issue is merely a formality for copyright grants.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to