You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/10/18 15:18:02 UTC

[jira] [Commented] (FELIX-3471) Support Schema validation for MetaData XML documents

    [ https://issues.apache.org/jira/browse/FELIX-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478982#comment-13478982 ] 

Felix Meschberger commented on FELIX-3471:
------------------------------------------

Just stumbled upon this note in section 105.7.1 on the XML Schema:

"This section describes the schema of the meta type resource. This schema is not intended to be used during runtime for validating meta type resources. The schema is intended to be used by tools and external management systems."

I think reading the metadata should allow for enough validation of the input data.

If you have invalid XML for which you think error reporting is insufficient, I would be happy to add better error reporting while reading the file.
                
> Support Schema validation for MetaData XML documents
> ----------------------------------------------------
>
>                 Key: FELIX-3471
>                 URL: https://issues.apache.org/jira/browse/FELIX-3471
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>            Reporter: Alexandre Castro Alves
>
> MetaData XML documents are not being W3C Schema-validated.
> Provide option for doing so.
> Thanks
> Alex

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira