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

> 1. Document Structure - The RelaxNG appears to fulfil this requirement. When can we expect it to be in conformance to SVG2?

No, you can’t expect the https://github.com/validator/validator/tree/master/schema/svg11 schema to be in conformance with the SVG2 specification. In fact I’m certain it’s not in full conformance with the SVG2 specification. I don’t know where in particular it’s not in conformance with the SVG2 specification, but I’m also not personally going to audit it against the SVG2 specification to find out. Instead I make updates to it when people file bugs.

> Our GCD files will be structure differently than an SVG file, so should the SVG2 schema (future) be used to validate our GCD file.

I can’t speak to anything abut GCD, because I know nothing about it and how it relates to SVG.

> 2. Datatypes - Java code has been used to validate this, and we intend to validate the datatypes using the schema (.xsd), so we will need to find a way to transform the java code into the schema. Think this may benefit your applications as well.

I don’t think you’re going to find any way to transform the Java code into a schema. I wrote a lot of the relevant datatype-checking Java code that my application is using, and I wrote it in Java intentionally. In particular, I am very familiar with Schematron and very intentionally chose not to attempt to write any of the datatype-checking code in Schematron. I am less familiar with XSD but I know enough to be very certain that the datatype checking my application is doing with Java code can’t be done with XSD.

> 3. Linkages (unique, key, keyref) - This appears to be a gap, or is maybe covered in the java, but our configuration languages depend on these cross-references to be validated along with the structure and datatype using a schema.

I don’t know what that means. I suppose there’s some context I’m missing.

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


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

Received on Monday, 21 September 2020 11:53:51 UTC