[jira] [Updated] (XMLBEANS-668) Introduce 'strict' parsing for floats and doubles
"PJ Fanning (Jira)" <[email protected]> Fri, 31 Jul 2026 10:42:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.poi.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/XMLBEANS-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
PJ Fanning updated XMLBEANS-668:
--------------------------------
Description:
The current code accepts what Java accepts but the XML Schema is stricter.
The change keeps the lenient parsing as the default but introduces an XmlOption to enforce strict parsing.
https://github.com/apache/xmlbeans/pull/44
XmlOptions.setLoadStrictFloatingPoint can be used to enable this.
was:
The current code accepts what Java accepts but the XML Schema is stricter.
The change keeps the lenient parsing as the default but introduces an XmlOption to enforce strict parsing.
https://github.com/apache/xmlbeans/pull/44
> Introduce 'strict' parsing for floats and doubles
> -------------------------------------------------
>
> Key: XMLBEANS-668
> URL: https://issues.apache.org/jira/browse/XMLBEANS-668
> Project: XMLBeans
> Issue Type: Task
> Reporter: PJ Fanning
> Priority: Major
> Fix For: 5.4.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The current code accepts what Java accepts but the XML Schema is stricter.
> The change keeps the lenient parsing as the default but introduces an XmlOption to enforce strict parsing.
> https://github.com/apache/xmlbeans/pull/44
> XmlOptions.setLoadStrictFloatingPoint can be used to enable this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)