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 03:15:44 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&focusedCommentId=12659302#action_12659302 ]
Ralph Goers commented on CONFIGURATION-257:
-------------------------------------------
I have enhanced XMLConfiguration to perform schema validation using the schemaLocation in XML document. I tested this on Java 1.3 with no problems as long as xerces was present. Once I get appropriate Jira permissions I will assign this to myself and update the issue as appropriate.
> 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: 2.0
>
>
> 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.