[
https://issues.apache.org/jira/browse/FELIX-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263920#comment-13263920
]
Alexandre Castro Alves commented on FELIX-3471:
-----------------------------------------------
My application is a design-time application and is invoking the 'load metadata'
during a bundle install.
If the schema is lax, then there won't be too much of a performance hit,
further this feature should be made optional, so client can determine if the
hit is accessible in the client's context.
As it happens, I did run into a situation where the customer provided an
invalid XML document that could have been caught sooner should the metatype
implementation have validated it. Of course, I could validate it in the
application itself, however we would be parsing the document twice, once for
validation, and once by the metatype implementation, which doesn't seem ideal.
Thanks
Alex
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira