Voting icon indicating copy to clipboard operation
Voting copied to clipboard

JSON mapping of xsd:language type incomplete

Open JDziurlaj opened this issue 10 months ago • 0 comments

Organization Name: The Turnout

Organization Type: 1 (CTR)

Comment (Include rationale for comment): JSON Schemas map xsd:language typed properties to the plain JSON Schema String. However, the XML Schema Part 2: Datatypes Second Edition Section 3.3.3 says that lexical space of a xsd:language typed value is [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*

Suggested Change:

Add pattern constraint of [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})* to for JSON equivalents of xsd:language.


Organization Type: 1 = Federal, 2 = Industry, 3 = Academia, 4 = Self, 5 = Other

JDziurlaj avatar Mar 29 '24 13:03 JDziurlaj