Ticket #462 (new task)
Move XML validation to RelaxNG and Schematron
| Reported by: | david | Owned by: | david |
|---|---|---|---|
| Priority: | high | Milestone: | 1.0 |
| Component: | config | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Patch attached: |
Description (last modified by david) (diff)
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)
- Schematron (http://en.wikipedia.org/wiki/Schematron)

