Re: conformance and datatype libraries
David Tolpin <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
... And while discussing it is beyond the scope of relaxng-user, my feeling is a datatype library that checks for ordering and value space constraints is a mesalliance for Relax NG. One does not expect to provide ordering constraints for <date> <year>2004</year> <month>01</month> <day>12</day> </date> Why should one use them for date="2004/01/12" ? Instead, adding one parameter to built-in datatypes, namely 'pattern' with regular expressions with interleave (and forgetting about pluggable datatype libraries), would do much more for convenience of use of Relax NG. And deprecating 'list', which I don't mind having, but it is a hack. David Tolpin http://davidashen.net/