• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 35328319490
90%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2026 09:17AM UTC
Jobs 3
Files 264
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2026 09:12AM UTC coverage: 85.814%. Remained the same
35328319490

push

github

web-flow
Fix the XSD lexical forms in the TypeScript XML (#723)

`Number` was doing the reading of a `xs:double`, and it is far too
permissive for the job. It reads an empty string and a run of whitespace
as 0, so a self-closing element quietly became a zero instead of an
error. It reads a hexadecimal, binary or octal prefix as the number it
spells, so `0x10` came in as 16. And it reads `Infinity` and
`-Infinity`, which `xs:double` calls `INF` and `-INF`. The text is
matched against the lexical space first now.

An integer is a `number` in TypeScript, and a `number` holds only
the integers up to 2^53 - 1 exactly. `Number.isInteger` was the guard,
and it passes for values which have already been rounded:
9007199254740993 came back as 9007199254740992, and 9223372036854775807
as 9223372036854776000 -- a well-formed but *different* `xs:long`.
`Number.isSafeInteger` is asked instead, so we refuse what
we can not hold, and the writer refuses it too, for the value handed to
it has already lost its identity. This is what the JSON of this very SDK
settled on, so the two agree.

A negative zero lost its sign, as `${-0}` is "0". `-0` is a valid
`xs:double`, so we accept it now as well. Mind that the test has to be
`Object.is(value, -0)`: `value === -0` holds for a positive zero too.

34764 of 40511 relevant lines covered (85.81%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.12 - 35328319490.1 18 Sep 2026 09:20AM UTC 264
85.81
GitHub Action Run
2 3.10 - 35328319490.2 18 Sep 2026 09:20AM UTC 264
85.81
GitHub Action Run
3 3.11 - 35328319490.3 18 Sep 2026 09:20AM UTC 264
85.81
GitHub Action Run
Source Files on build 35328319490
  • Tree
  • List 264
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c72f6d90 on github
  • Prev Build on main (#35326854400)
  • Next Build on main (#35329863572)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc