You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2007/04/23 12:21:15 UTC

[jira] Commented: (CONFIGURATION-257) XMLConfiguration with Schema

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