[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-485) Whitespace is not stripped if text starts on byte 90112 or higher
From:       "johan jarkovic (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2012-07-28 16:50:35
Message-ID: 1839700144.113255.1343494235302.JavaMail.jiratomcat () issues-vm
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-485?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424379#comment-13424379 ] \


johan jarkovic commented on XMLBEANS-485:
-----------------------------------------

The bug affects also xpath expressions based on tag content, 
making them useless on big documents.
                
> Whitespace is not stripped if text starts on byte 90112 or higher
> -----------------------------------------------------------------
> 
> Key: XMLBEANS-485
> URL: https://issues.apache.org/jira/browse/XMLBEANS-485
> Project: XMLBeans
> Issue Type: Bug
> Components: Cursor
> Affects Versions: Version 2.5
> Environment: Linux amd64
> Reporter: johan jarkovic
> Priority: Critical
> Labels: 90112, strip, whitespace
> Attachments: XmlBeansBugReprod-485.zip
> 
> 
> (I ve used XmlOptions.setLoadStripWhitespace() option)
> If the text of an element starts on byte 90112 of the document, and there is \
> whitespace before it, then the whitespace before it is not fully trimmed. There is \
>                 one space left. If the text starts on  90113 there are two spaces \
>                 left, and so on. 
> - This happens if the parent element has closed before byte 90112 followed by some \
>                 whitepsace and text. 
> - It happens with with plain text but also with CDATA.
> - It occurs also on byte: 90112*2,  90112*3 and so on

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic