#462: Move XML validation to RelaxNG and Schematron
--------------------+-------------------------------------------------------
 Reporter:  david   |       Owner:  david
     Type:  task    |      Status:  new  
 Priority:  high    |   Milestone:  1.0  
Component:  config  |     Version:       
 Severity:  major   |    Keywords:       
--------------------+-------------------------------------------------------
 RelaxNG can be transformed to XML Schema and DTD. It also has more
 features than XSD and what seems to be nicer namespaces support (might
 come in handy, how about using Dublin Core metadata to describe app/module
 authorship and so on).

 Also, we soooo need support for Schematron. That will allow us to check if
 the output type name set as default is actually defined and so on. Very
 cool. And with a bit of work, we can even validate across
 {{{<configuration>}}} blocks (should be possible by using XSL variables
 somehow. Awww that's gonna rock... best guess will be to parse all
 {{{environment}}} and {{{context}}} attributes, check the regexps in there
 and then dump those that are allowed into a list which is then used in the
 XPath expressions. or so. coool. it's gonna work, it's gonna work.)

 Links:
  * RelaxNG (http://en.wikipedia.org/wiki/RELAX_NG, has lots of links)
   * http://de.php.net/manual/en/function.dom-domdocument-
 relaxngvalidate.php
   * http://books.xmlschemata.org/relaxng/ a book!
  * Schematron
   * http://www.phpbuilder.com/columns/adam_delves20060719.php3
    * Specifically:
 http://www.phpbuilder.com/columns/adam_delves20060719.php3?page=2

-- 
Ticket URL: <http://trac.agavi.org/ticket/462>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to