OASIS DocBook TC2

 View Only

Duplicate Schematron rules in DB5 grammar

  • 1.  Duplicate Schematron rules in DB5 grammar

    Posted 10-16-2005 19:58
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    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]