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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-tc message

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


Subject: 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: jirka@kosek.cz     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.
------------------------------------------------------------------

S/MIME Cryptographic Signature



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