[ https://issues.apache.org/jira/browse/XMLBEANS-485?page=com.atlassian.jira.plugin.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-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org