[ 
http://jira.codehaus.org/browse/XFIRE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121109
 ] 

Brad Davis commented on XFIRE-698:
----------------------------------

whoops, got cut off trying to do a paste.  the function should read

    public static String getRawContent(Node n)
    {
        if (n == null)
            return null;
        Node n1 = DOMUtils.getChild(n, Node.TEXT_NODE);
        if (n1 == null)
            return null;
        return n1.getNodeValue();
    }


> DOMInHandler strips whitespace
> ------------------------------
>
>                 Key: XFIRE-698
>                 URL: http://jira.codehaus.org/browse/XFIRE-698
>             Project: XFire
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.2
>            Reporter: Brad Davis
>            Assignee: Dan Diephouse
>             Fix For: 1.2.3
>
>
> If I add the provided input handler org.codehaus.xfire.util.dom.DOMInHandler 
> into my service it ends up stripping all the whitespace out of the document, 
> even where the schema says that it should be preserved.  I believe I've 
> tracked this down to the STAXUtils class where the readDocElements drops any 
> events of type SPACE.  I'll look into providing a patch today or tommorow.

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to