Re: [jira] [Updated] (XMLBEANS-668) Introduce 'strict' parsing for floats and doubles

Kamal Chandrashekar <[email protected]>
Newsgroups gmane.comp.jakarta.poi.devel
Message-ID <CAGrp_CnPuBrHDX9MRAdmZDtbOUTYMVTHTTje72G0vB90aXw00A@mail.gmail.com>
try java 1.7 nio Files.copy(Path source,FileOutputStream fos);

On Fri, 31 Jul 2026 at 16:12, PJ Fanning (Jira) <[email protected]> wrote:

>
>      [
> 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)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.