Skip to content

test float/double changes#46

Closed
pjfanning wants to merge 4 commits into
apache:trunkfrom
pjfanning:fork44
Closed

test float/double changes#46
pjfanning wants to merge 4 commits into
apache:trunkfrom
pjfanning:fork44

Conversation

@pjfanning

Copy link
Copy Markdown
Member

based on #44 but rebased to pick up some changes that I made in last few days

aizu-m and others added 4 commits June 15, 2026 20:26
Default parsing stays lenient (unchanged), and the strict XSD lexical
check is only applied when setLoadStrictFloatingPoint is set. The flag is
read off the parse Locale in JavaFloatHolder/JavaDoubleHolder.set_text, so
it follows the XmlOptions already threaded through parse(), no ThreadLocals.

lexFloat/lexDouble gain a strict overload; the existing signatures keep
their long-standing lenient behaviour. INF/-INF/NaN and decimal/exponent
forms are accepted in both modes.
@pjfanning

Copy link
Copy Markdown
Member Author

merged with 21dbc28

@pjfanning pjfanning closed this Jun 15, 2026
@pjfanning pjfanning deleted the fork44 branch June 15, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants