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 2011/05/23 12:18:47 UTC

[jira] [Commented] (FELIX-2962) SCR doesn't detect invalid XML

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

Felix Meschberger commented on FELIX-2962:
------------------------------------------

Thanks for reporting.

We use a "real" parser since KXml is a fast, light-weight, real parser. Hence I do not consider replacing the parser at this point in time.

But, I admit, that error reporting my be improved and you could help us do that !

If you could provide invalid XML and state the expected behaviour (in terms of logging, I would assume), this would help use improving error reporting. Thanks alot !



> 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