Re: [svgwg] Building a schema for SVG / Creating an SVG profile for IEC 61850-6-2 (#699)

@sideshowbarker Our Taskforce has noticed the following observations with regards to your Schema. Any comments? 

Some findings:
RelaxNG seems to be in the same immature state as the SVG11 XML schema from Chris
Specifically, there are very few restrictions on attributes, most are typed as just “string”.
RelaxNG has no way to express linkages between sections.
As a simple example, in SCL there is a validated linkage between the LNs in the <IED> section elements and the LNodeType in the DataTypeTemplate section. These use xs:key and xs:keyref as well as xs:unique
The SVG11 RelaxNG files (in validator-master\schema\svg11\) are missing at least “aria” definitions which inhibits my attempt to perform a translation from the RNC files to XML schema (XSD).
I could not figure out exactly what is missing but the following error messages are emited by “trang”:
 
svg-basic-structure.rnc:299:9: error: reference to undefined pattern "common.attrs.aria"
svg-basic-structure.rnc:178:10: error: reference to undefined pattern "common.attrs.aria.role.application"
svg-basic-structure.rnc:179:13: error: reference to undefined pattern "common.attrs.aria.landmark.document"
svg-basic-structure.rnc:180:13: error: reference to undefined pattern "common.attrs.aria.role.img"
svg-basic-structure.rnc:229:10: error: reference to undefined pattern "common.attrs.aria.implicit.group"
svg-hyperlink.rnc:66:10: error: reference to undefined pattern "common.attrs.aria.implicit.link"
svg-image.rnc:51:10: error: reference to undefined pattern "common.attrs.aria.implicit.img"

-- 
GitHub Notification of comment by IEC61850
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/699#issuecomment-692752774 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 September 2020 14:28:56 UTC