[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Curious issue in OpenDocument-schema-v1.2-draft7.rng
I found a curious construction in the
OpenDocument-schema-v1.2-draft7.rng schema. The attribute
table:paragraph-style-name is supposedly optional, but the way I parse
the Relax syntax, it says it is mandatory, and the content of the
attribute is optional. Shouldn't the <optional> wrap the
<attribute>? Currently: <define name="common-table-template-attlist" combine="interleave"> <attribute name="table:style-name"> <ref name="styleNameRef"/> </attribute> <attribute name="table:paragraph-style-name"> <optional> <ref name="styleNameRef"/> </optional> </attribute> </define>Should be?: <define name="common-table-template-attlist" combine="interleave"> <attribute name="table:style-name"> <ref name="styleNameRef"/> </attribute> <optional> <attribute name="table:paragraph-style-name"> <ref name="styleNameRef"/> </attribute> </optional> </define>The issue is also in the v1.1 schema. Best regards, Søren Roug |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]