tag message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Proposal for compact RelaxNG notations
- From: "Jacques R. Durand" <JDurand@us.fujitsu.com>
- To: "TAG TC List" <tag@lists.oasis-open.org>
- Date: Tue, 4 May 2010 16:27:25 -0700
applied to a couple
of TAMl constructs.
Please someone check
these if they are correct, especially the extensibility
points.
Thx,
Jacques
-----------------------------------------------------------------------------------------------
<testAssertion
id ? = 'xsd:normalizedString'
lg ? = 'xsd:normalizedString'
schemaVersionId ? =
'xsd:normalizedString'
{any attributes with non-schema namespace .
. .}>
Content: normativeSource ?, target ?,
prerequisite ?, predicate ?,
prescription ?, description ?, tag *, var
*,
report *, 'xsd:Any' *
</testAssertion>
compact
Relax NG:
element testAssertion
{
attribute id { xsd:normalizedString
},
attribute lg { xsd:normalizedString
}?,
attribute name { xsd:normalizedString
}?,
attribute
anyName *,
element var { var_def
}*,
element normativeSource {
normativeSource_def }?,
element target { target_def
}?,
element prerequisite { prerequisite_def
}?,
element predicate { predicate_def
}?,
element prescription { prescription_def
}?,
element tag { tag_def
}*,
element report { report_def
}*,
element anyName
*
}
----------------------------------------------
<target
type ? = 'xsd:normalizedString'
schemeRef ? = 'xsd:normalizedString'
lg ? = 'xsd:normalizedString'
{any attributes with non-schema namespace . .
.}>
Content:
'xsd:normalizedString'
</target>
element target
{
attribute type { xsd:normalizedString }?,
attribute schemeRef { xsd:normalizedString
}?,
attribute lg { xsd:normalizedString
}?,
attribute anyName
*,
xsd:normalizedString
}
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]