Skip to content

Commit

Permalink
changed content model for content, #2381
Browse files Browse the repository at this point in the history
  • Loading branch information
martinascholger committed Mar 30, 2023
1 parent 078c5eb commit b5842db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions P5/Source/Specs/content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ $Id$
<content>
<alternate>
<elementRef key="valList" minOccurs="1" maxOccurs="1"/>
<classRef key="model.contentPart" minOccurs="1" maxOccurs="unbounded"/>
<anyElement minOccurs="1" maxOccurs="unbounded" require="http://relaxng.org/ns/compatibility/annotations/1.0 http://relaxng.org/ns/structure/1.0"/>
<classRef key="model.contentPart" minOccurs="1" maxOccurs="1"/>
<anyElement minOccurs="1" maxOccurs="1" require="http://relaxng.org/ns/compatibility/annotations/1.0 http://relaxng.org/ns/structure/1.0"/>
</alternate>
</content>
<attList>
Expand Down Expand Up @@ -149,6 +149,9 @@ $Id$
</content>
</egXML>
</exemplum>
<remarks versionDate="2023-03-30" xml:lang="en">
<p>It is required that the <gi>content</gi> element has only one child element. If several RELAX NG elements are desired, they must be wrapped in a <gi>rng:div</gi>.</p>
</remarks>
<listRef>
<ptr target="#TDTAG"/>
</listRef>
Expand Down

0 comments on commit b5842db

Please sign in to comment.