dita — archive
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]
Issue with leaningObjectMap content model
Hello,
France Baril mentioned in a post on dita-users that the content model for learningObjectMap does not match what is allowed in the DTD,RNG, and XSD.
<snip>
The documentation says: "The <learningObjectMap> references
one and only one <learningObject> ".
However, the schema allows for an unlimited number of learning Objects in a learningObjectMap.
</snip>
With a reply from Eliot in an email thread:
<snip>
The RNG also allows multiple instances of <learningObject>--we never attempted to implement a constraint that would limit it to exactly one while also allowing the other topicref types that should
be allowed before or after <learningObject> (mapref, keydef, ditavalref, topicgroup).
That level of constraint would require completely redefining the content model for the learningObjectMap element, which we could do but which we chose not to do (or failed to consider the need
for).
The only constraint we implemented was the learningAggregationsTopicrefConstraint, which disallows <topicref> but allows the other items from the mapgroup domain.
The simpler change might be to adjust the the reference entry to change "references" to "SHOULD reference".
</snip>
We should discuss this issue at the following TC meeting.
Éric Sirois
DITA Toolsmith ?
IXIASOFT
825 Querbes, Suite 200, Montréal, Québec, Canada, H2V 3X1
tel + 1 514 279-4942 / toll free + 1 877 279-4942
mobile + 1 647 462-3620
[email protected]
/
www.ixiasoft.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]