You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ISO/IEC 19757-3:2006(E)
Did not define this attribute at all:
ISO/IEC 19757-3:2016(E)
Did define it as "documents":
ISO Schematron XSLT:
2009-02-19
* RJ add experimental non-standard attribute active-pattern/@document which says which
document is being validated from that point to the next similar. This is to cope with the
experimental multi-document validation in the XSLT2 skeleton.
And finally SchXslt does it according to Schematron 2016:
So the question is: remain on the "de facto standard" Schematron XSLT and use document or built something that is correct in regards to the latest ISO standard and use documents? In my Java Schematron implementation ph-schematron I decided to stick with document until further notice (see e.g. phax/ph-schematron#149) but it might be time to change this. My compromise will be, to emit document and documents together :)
The ISO Schema for svrl specifies:
<xs:element name="active-pattern">
xs:complexType
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="documents"/>
<xs:attribute name="name"/>
<xs:attribute name="role" type="xs:NMTOKEN"/>
</xs:complexType>
sources:
https://github.com/esacinc/sdcct/blob/master/sdcct-core/src/main/resources/META-INF/sdcct/schema/schematron/svrl.xsd
https://github.com/Schematron/schema/blob/main/svrl.rnc
The xml generated by the schematron artefacts produce:
<svrl:active-pattern document="file:///C:/examples/CII_example(with-errors).xml"
id="EN16931-CII-Model"
name="EN16931-CII-Model"/>
i.e. documents versus document
What is the correct version?
The text was updated successfully, but these errors were encountered: