You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2021/05/28 20:37:00 UTC

[jira] [Resolved] (XMLBEANS-485) Whitespace is not stripped if text starts on byte 90112 or higher

     [ https://issues.apache.org/jira/browse/XMLBEANS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Beeker resolved XMLBEANS-485.
-------------------------------------
    Fix Version/s: Version 5.0.1
         Assignee: Andreas Beeker
       Resolution: Cannot Reproduce

> 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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org