Permalink
Browse files

Tweak assembly schemas

  • Loading branch information...
ndw committed Jun 29, 2010
1 parent b683131 commit 5e6357268623a7691eaed9b1ba3b6b5483fd9778
@@ -12,7 +12,7 @@ clean:: ; rm -f assembly.rng assembly.rnc assembly.dtd assembly.sch
$(_OUTTOP)/assembly/assembly.rng: src/annotations.rnc src/bibliography.rnc \
src/callouts.rnc src/calstbl.rnc \
src/docbook.rnc src/assembly.rnc src/ebnf.rnc src/glossary.rnc \
src/docbook.rnc src/assembly-core.rnc src/ebnf.rnc src/glossary.rnc \
src/hier.rnc src/htmltbl.rnc \
src/index.rnc src/math.rnc src/mathml.rnc \
src/msgset.rnc src/pool.rnc src/qandaset.rnc \
@@ -34,9 +34,7 @@ namespace s = "http://www.ascc.net/xml/schematron"
namespace db = "http://docbook.org/ns/docbook"
default namespace = "http://docbook.org/ns/docbook"
include "toc.rnc"
include "index.rnc"
include "core.rnc" {
include "../docbook/docbook.rnc" {
start = db.assembly
}
@@ -32,7 +32,7 @@
namespace db = "http://docbook.org/ns/docbook"
default namespace = "http://docbook.org/ns/docbook"
include "../src/docbook.rnc" {
include "../assembly/assembly.rnc" {
db.biblio.class.enumeration =
## A digital object identifier.
@@ -390,13 +390,16 @@ db.date.contentmodel = (text)
# ======================================================================
db.resource =
element resource {
db.resource.attlist,
attribute fileref { text }?,
attribute grammar { text }?,
attribute description { text }?,
text
}
db.resource.attlist =
db.resource.role.attribute?
& db.resource.fileref.attribute?
& db.grammar.attribute?
& db.common.attributes
db.resource =
element resource {
db.resource.attlist,
text
}
}

0 comments on commit 5e63572

Please sign in to comment.