You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2008/12/27 21:50:44 UTC

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

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

Ralph Goers resolved CONFIGURATION-257.
---------------------------------------

    Resolution: Fixed

I have modified save() so that if schemaValidation is set the document will be validated before saving.

> 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
>            Assignee: Ralph Goers
>            Priority: Minor
>             Fix For: 1.7
>
>
> 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.