You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/03/22 03:39:13 UTC

[Bug 59208] New: bold xml value of "1" treated as false

https://bz.apache.org/bugzilla/show_bug.cgi?id=59208

            Bug ID: 59208
           Summary: bold xml value of "1" treated as false
           Product: POI
           Version: 3.15-dev
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: onealj@apache.org

From
http://stackoverflow.com/questions/35583073/is-using-1-instead-of-true-in-a-docs-file-valid

DOCX files generated by Google Docs use <w:b w:val="1"/> to represent a run of
bold text. In POI 3.14, run.isBold() incorrectly returns false in the above
scenario.

Per the OOXML schema, valid True values for bold are "true", "on", and "1", and
valid False values for bold are "false", "off", and "0".

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 59208] bold xml value of "1" treated as false

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59208

Javen O'Neal <on...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
Fixed in r1736126. Will be available in POI 3.15 beta 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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