Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Minor correction on README #39

Open
johnnybubonic opened this issue Aug 26, 2020 · 0 comments
Open

Minor correction on README #39

johnnybubonic opened this issue Aug 26, 2020 · 0 comments

Comments

@johnnybubonic
Copy link

(hello, KML using 0 and 1 for xs:booleans that are clearly spec'd to be only ever either true or false...)

I hate to be that guy, but they are spec'd to evaluate to true/false. Their accepted values do in fact include 1 and 0.

Sources:
Schema 1.0 § 3.3.2.1
Schema 1.1 § 3.3.2.2

("Lexical" refers to the literals, "Canonical" refers to what they should evaluate to in the Schema spec parlance)

Sorry, I'm a huge XML/Schema nerd and that was just nibbling at my brain.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant