← Prev in month ← Prev in thread

Duplicate Schematron rules in DB5 grammar

From
Jirka Kosek <>
Date
2005-10-16T19:58:11+00:00
ID
Thread
Duplicate Schematron rules in DB5 grammar
Hi Norm,

I just spotted that when I build docbook.rng from sources all Schematron 
rules that test presence of @version on the root element are duplicated. 
E.g.:

<element name="para">
         <a:documentation>A paragraph</a:documentation>
         <s:rule xmlns:s="http://www.ascc.net/xml/schematron" 
context="/db:para">
           <s:assert test="@version">The root element must have a 
version attribute.</s:assert>
         </s:rule>
         <s:rule xmlns:s="http://www.ascc.net/xml/schematron" 
context="/db:para">
           <s:assert test="@version">The root element must have a 
version attribute.</s:assert>
         </s:rule>
         <ref name="db.para.attlist"/>
         <ref name="db.para.info"/>
         <zeroOrMore>
           <choice>
             <ref name="db.all.inlines"/>
             <ref name="db.nopara.blocks"/>
           </choice>
         </zeroOrMore>
       </element>

Probably some problem in the build process as those assertions are not 
in source RNC files. It would be nice if this could be fixed before 
V5.0b1 is officialy released. Thanks.

				Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
   Nejbližší termíny školení: DocBook 5.-7.12. * XSL-FO 19.-20.12.
      XSLT 17.-20.10. * XML schémata (včetně RELAX NG) 7.-9.11.
------------------------------------------------------------------
← Prev in month ← Prev in thread