Skip to content

Commit

Permalink
remove <lb/> from content model of <abstract>
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry Catapano committed Jun 13, 2012
1 parent e57c6f8 commit 0c00b9b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 25 deletions.
54 changes: 30 additions & 24 deletions ead_revised.rng
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Other changes:
* create element <formsavailable> in <did>, with children <container> and <dao> (which are now only available in <formsavailable>)
* eliminate linkgrp
* remove linking attributes from <bibref>; restrict <bibref> to <bibliography> only
* remove <lb/> from content model of <abstract>
-->
<!--
Expand Down Expand Up @@ -975,29 +976,7 @@ Other changes:
</define>
<define name="m.render">
<choice>
<element name="emph">
<optional>
<attribute name="render">
<choice>
<ref name="av.render"/>
</choice>
</attribute>
</optional>
<optional>
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
<attribute name="altrender"/>
</optional>
<zeroOrMore>
<choice>
<text/>
<ref name="m.phrase.basic"/>
</choice>
</zeroOrMore>
</element>
<ref name="emph"/>
<element name="lb">
<empty/>
<empty/>
Expand Down Expand Up @@ -1353,7 +1332,8 @@ Other changes:
<zeroOrMore>
<choice>
<text/>
<ref name="m.phrase.basic"/>
<ref name="emph"/>
<ref name="m.refs"/>
</choice>
</zeroOrMore>
</element>
Expand Down Expand Up @@ -5048,4 +5028,30 @@ Other changes:
</optional>
</element>
</define>
<!--TC; 2012-06-13: create pattern for <emph> so it can be referenced from multiple patterns -->
<define name="emph">
<element name="emph">
<optional>
<attribute name="render">
<choice>
<ref name="av.render"/>
</choice>
</attribute>
</optional>
<optional>
<attribute name="id">
<data type="ID"/>
</attribute>
</optional>
<optional>
<attribute name="altrender"/>
</optional>
<zeroOrMore>
<choice>
<text/>
<ref name="m.phrase.basic"/>
</choice>
</zeroOrMore>
</element>
</define>
</grammar>
1 change: 0 additions & 1 deletion ead_revised_test_instance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<p>Blah blah blah</p>
</scopecontent>
<legalstatus>Blah blah blah</legalstatus>
<bibliography></bibliography>
<relations>
<cpfRelation>
<objectXMLWrap>
Expand Down

0 comments on commit 0c00b9b

Please sign in to comment.