Re: PHP Relax NG validator ?

David Tolpin <[email protected]> Fri, 5 Mar 2004 03:52:36 +0400 (AMT)
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
>   I didn't tried xslt.rng (which one), and I can't see any bug

http://www.thaiopensource.com/relaxng/xslt.rng

%xmllint --version
xmllint: using libxml version 20607
  compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Unicode Regexps Automata Schemas 

%xmllint --noout --relaxng xslt.rng ~/work/docbook/xsl/html/docbook.xsl
/home/dvd/work/docbook/xsl/html/docbook.xsl:113: element param: Relax-NG validity error : Element template has extra content: param
/home/dvd/work/docbook/xsl/html/docbook.xsl:9: element output: Relax-NG validity error : Element stylesheet has extra content: output
/home/dvd/work/docbook/xsl/html/docbook.xsl fails to validate
%

%java -classpath ~/work/jing-20030619/bin/jing.jar:$CLASSPATH com.thaiopensource.relaxng.util.Driver xslt.rng ~/work/docbook/xsl/html/docbook.xsl 
%