felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2962) SCR doesn't detect invalid XML
Date Tue, 24 May 2011 07:18:47 GMT

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

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

Thanks for the samples. We can see what we can do.

>  I filed this issue because I got a totally misleading error message when I tried to
start my bundle, where the root cause was malformed XML

Understandable. But you have to also understand that we cannot fix things if you don't show
what is broken.

For example "attached file xxx is broken XML and the message I got logged was yyy."

Thanks for your comprehension.

> 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

Mime
View raw message