[ https://issues.apache.org/jira/browse/XMLBEANS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Beeker closed XMLBEANS-485. ----------------------------------- > 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 > Assignee: Andreas Beeker > Priority: Critical > Labels: 90112, strip, whitespace > Fix For: Version 5.0.1 > > 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 was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org