[weld-issues] [JBoss JIRA] Updated: (WELD-362) BeansXMLParser is pretty print xml sensitive

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Wed Jan 27 07:14:26 EST 2010


     [ https://jira.jboss.org/jira/browse/WELD-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen updated WELD-362:
-------------------------------

    Attachment: WELD-362.patch


Patch contains fix for NodeListIterator, including testcase.

> BeansXMLParser is pretty print xml sensitive
> --------------------------------------------
>
>                 Key: WELD-362
>                 URL: https://jira.jboss.org/jira/browse/WELD-362
>             Project: Weld
>          Issue Type: Bug
>          Components: Bootstrap and Metamodel API
>    Affects Versions: 1.0.0.GA
>            Reporter: Aslak Knutsen
>            Assignee: Aslak Knutsen
>             Fix For: 1.0.1.CR1
>
>         Attachments: WELD-362.patch
>
>
> The NodeListIterator used by the BeansXMLParser always skips the first element assuming it's a TextElement.
> This only happens if the xml is formated with a new line char between the tags: ie: <alternatives>\n<class>. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list