The GitHub Actions job "Publish snapshot" on poi-xmlbeans.git/trunk has 
succeeded.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
871c346f45eb06132ae2d7066f3631fe4042d31d / PJ Fanning 
<[email protected]>
honour date facet bounds in xsd2inst samples (#133)

* honour date facet bounds in xsd2inst samples

formatDate compared its random seed, a full dateTime, against the bounds
before cutting it down to the facet's type, so for date, time and the
g* types every comparison came back as incomparable and the bounds were
ignored. Where a reset did fire, it moved the random date by a few hours
instead of moving it next to the bound.

Cut the seed down to the type and pick its timezone first, then check it
against all four facets the way validation does, treating an
incomparable result as out of range. If it misses, try the bound itself
and then the bound stepped inwards by the smallest unit the type shows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* check facet error codes in IncomparableMinFacetValidateTest

Assert the expected cvc-*-valid code rather than only that validation
failed, and compile the schema once for the class.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

Report URL: https://github.com/apache/poi-xmlbeans/actions/runs/37376124698

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to