OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Issue with leaningObjectMap content model



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.



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.



With a reply from Eliot in an email thread:



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".



We should discuss this issue at the following TC meeting.



Éric Sirois

DITA Toolsmith



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

eric.sirois@ixiasoft.com / www.ixiasoft.com 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]