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 "Wouter Coene (JIRA)" <xe...@xml.apache.org> on 2008/06/27 10:05:46 UTC

[jira] Created: (XERCESC-1814) Disabling automatic schema loading

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


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.

-- 
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


[jira] Closed: (XERCESC-1814) Disabling automatic schema loading

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1814.
------------------------------------

    Resolution: Fixed
      Assignee: Boris Kolpackov

Thanks, Wouter!

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


[jira] Reopened: (XERCESC-1814) Disabling automatic schema loading

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov reopened XERCESC-1814:
--------------------------------------


Hi Wouter,

Sorry for bugging you with this but apparently simply assigning the rights to ASF is not enough. Could you please answer the following question by adding a comment to this bug report. Simple Yes/No are sufficient for b)-e).

a) Name and employer

b) Are you the author of the code being contributed?

c) Do you have the right to grant the copyright and patent licenses for the contribution that are set forth in the ASF v.2.0 license (http://www.apache.org/licenses/LICENSE-2.0)?

d) Does your employer have any rights to code that you have written, for example, through your contract for employment? If so, has your employer given you permission to contribute the code on its behalf or waived its rights in the code?

e) Are you aware of any third-party licenses or other restrictions (such as related patents or trademarks) that could apply to your contribution? If so, what are they? 

Thanks
Boris

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


[jira] Commented: (XERCESC-1814) Disabling automatic schema loading

Posted by "Wouter Coene (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608796#action_12608796 ] 

Wouter Coene commented on XERCESC-1814:
---------------------------------------

a) Employer: Centric IT Solutions BV, Gouda, The Netherlands.

b) Yes, I am the author of the software being contributed.

c & d) This code was written as part of my work at Centric. My team has the policy to keep the set of local patches we apply to open-source software as small as possible. This contribution was made with the express intent of being integrated into the Xerces-C mainline, as requested by my direct superior.

e) I am not aware of any third-party's licenses or other restrictions that could apply.

Is this OK?



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


[jira] Closed: (XERCESC-1814) Disabling automatic schema loading

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1814.
------------------------------------

    Resolution: Fixed

Yes, I think so. Thank you very much.

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


[jira] Updated: (XERCESC-1814) Disabling automatic schema loading

Posted by "Wouter Coene (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: load-schema2.patch

The actual patch.

Note that this patch contains bugs and is not the actual committed version. See SVN revision 671592 for that.

> 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 attached on /trunk, but this issue is necessary 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1814) Disabling automatic schema loading

Posted by "Wouter Coene (JIRA)" <xe...@xml.apache.org>.
     [ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org