Rick Jelliffe said:
> Here is how I would imagine dates should work, under my druthers. Note
> that we can validate exactly your constraints for dates!
<cool-example-removed/>
I'll add this example in the next version of my strawman.
I have a question about embedding Schematron within Relax NG:
Should we assume that a Relax NG validator will pick a Schematron
assertion just recognizing its namespace (like some current
implementations)?
<element name="foo">
<attribute name="bar"/>
<assert test="contains(@bar, 'bar')"
xmlns=""http://www.ascc.net/xml/schematron">
@bar should contain 'bar'
</assert>
</element>
or should the framework be used to show that a validation needs to be done?
<element name="foo">
<attribute name="bar"/>
<if:validate type="http://www.ascc.net/xml/schematron">
<assert test="contains(@bar, 'bar')"
xmlns=""http://www.ascc.net/xml/schematron">
@bar should contain 'bar'
</assert>
</if:validate>
</element>
Eric
--
See you in San Diego.
http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
--
DSDL members discussion list
To unsubscribe, please send a message with the
command "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Thu May 30 04:24:43 2002
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:27 UTC