[
https://issues.apache.org/jira/browse/FELIX-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041116#comment-13041116
]
Felix Meschberger commented on FELIX-2962:
------------------------------------------
Added some checking code to ensure certain situations cause an Exception being
thrown in Rev. 1129144:
<a> -- new: throws a ParseException now, used to be silently ignored
</a> -- already threw an exception
<a><b></a></b> -- already threw an exception
the new check mechanism particularly should prevent cases like
<scr:component ....>
....
<scr:component>
Does this work for you ?
> SCR doesn't detect invalid XML
> ------------------------------
>
> Key: FELIX-2962
> URL: https://issues.apache.org/jira/browse/FELIX-2962
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Reporter: Andrew Pimlott
> Labels: xml
>
> The XML parser (kxml2) used by SCR doesn't detect many forms of incorrect
> XML, even basic errors like mismatched start and end tags. This makes
> diagnosing component load errors very frustrating. Please use a real XML
> parser. It will save developers a lot of pain.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira