DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14581

[PATCH] Schematron rules added to Sitemap RNG grammar

           Summary: [PATCH] Schematron rules added to Sitemap RNG grammar
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have added embedded schematron rules to the RNG grammare for sitemap.xmap. These 
rules add to the validating power of the grammar, and can now invalidate all the
invalid pipeline examples in the lint sitemap. They also incorporate all the
rules (sometimes updated) present in the cocoon 2.0.3. sitemap.xsl.
I have added a temporary testing target of validate-schematron to build.xml.
This needs replacing with a more suitable mechanism (something from Avallon
coming?) when we are ready. It uses the schematron-basic xslt validator, which I
have included in an attachment, but this is not really suitable for anything
other than testing purposes.
The rules theselves are extracted with an XSLT transform to generate the
schematron grammar. I have included the stylesheet for doing this (LICENSE??)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to