Description of problem: The Docbook 5 instructions describe how to validate documents written against the RelaxNG schema with msv-relames. However, the instructions don't work with the version of msv-relames currently available in Fedora. Relames chokes on the embedded Schematron rules in the Docbook 5 schema, for example: parsing /usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng element "s:ns" is not allowed here 3:79@file:///usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng ... element "s:pattern" is not allowed here 1582:45@file:///usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng ... I downloaded the latest available upstream release of relames, dated 20 March 2006, and it properly parses the Docbook 5 RelaxNG schema and applies the Schematron rules during validation. Version-Release number of selected component (if applicable): msv-relames-1.2-0.4.20050722.3.4.fc12.1.x86_64 How reproducible: Always Steps to Reproduce: 1. Write or acquire a document written against the Docbook 5 RelaxNG schema 2. java -Xss1M -cp `build-classpath msv-relames msv-msv msv-xsdlib relaxngDatatype isorelax xalan-j2` com.sun.msv.schematron.Driver /usr/share/xml/docbook5/schema/rng/5.0/docbook.rng <document.xml> Actual results: Lots of error messages from relames indicating that it does not understand the embedded Schematron rules. Expected results: Successful parsing of the Schematron rules and their application to the document being validated. Additional info: Here's a trivial input file for use in reproducing: <?xml version="1.0" encoding="UTF-8"?> <book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en"> <info> <title>A Very Short Book</title> <date>26 Aug 2010</date> </info> <chapter> <title>The World's Shortest Chapter</title> <para>This paragraph isn't very long, either.</para> </chapter> </book>
Thanks. I will update msv soon.
Hi, would you care to try out the latest RPMs I've built? http://mbooth.fedorapeople.org/msv/ I need to resolve a problem in a dependency before I can issue a build to Koji, but your feedback would be appreciated in the meantime. Thanks, Mat
msv-2009.1-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/msv-2009.1-3.fc14
msv-2009.1-3.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update msv'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/msv-2009.1-3.fc14
msv-2009.1-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.