[
https://issues.apache.org/jira/browse/CONFIGURATION-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490887
]
Emmanuel Bourg commented on CONFIGURATION-257:
----------------------------------------------
We could implement a setSchema(URL url, String language) method using
reflection, and maybe a setSchema(Object) method accepting only a Schema
instance.
Anyone has an example of schema that would help us building a test case ?
> XMLConfiguration with Schema
> ----------------------------
>
> Key: CONFIGURATION-257
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-257
> Project: Commons Configuration
> Issue Type: Improvement
> Affects Versions: 1.3
> Environment: no special issues
> Reporter: Andre Pietsch
> Priority: Minor
> Fix For: 1.5
>
>
> It would be nice if you can set a self defined schema or better a schema file
> to validate a XML-file that has no schema defined in its source.
> I would be happy with something like XMLConfiguratiom.setSchema(java.io.File
> schemaFile) or XMLConfiguration.setSchema(javax.xml.validation.Schema schema)
> that is forwarded to the XML-parser used by XMLConfiguration.
> Thanks alot...
--
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]