Using Sun's 'relames' [1] it is *nearly* possible to
validate an instance as is intended by the text!
Where (datetime for instance) an element content
must not have whitespace, relames picks it up nicely.
<element name="atom:published">
<s:assert test="normalize-space(.) = .">There must be no white
space before or after a date time value
</s:assert>
<ref name="atomDateConstruct"/>
</element>
Unfortunately, as of this release, relames doesn't
support Schematron assert statements for attribute
values, which is required for uri's.
C'est la vie
[1]https://msv.dev.java.net/
regards DaveP