the atom spec.
Bob Foster
Dave Pawson wrote:
> On Mon, 2005-08-08 at 17:56 +0100, Dave Pawson wrote:
>
>>On Sun, 2005-08-07 at 23:00 +0200, Eric van der Vlist wrote:
>>
>>>It can check whether a text node is changed by the normalize-space
>>>function so, it could be used in complement to a RNG schema.
>>
>>assert test="normalize-space(.) = ."
>>
>>with the datatype set to anyURI?
>> Yes, that seems valid. Thanks Eric.
>
>
> Except relames says:
> This release supports Schematron constraints to be embedded in
> the <element> pattern of RELAX NG:
>
> <grin/> OK. I lose!
>
> The schema has
> <element name="atom:generator">
> <ref name="atomCommonAttributes"/>
> <optional>
> <attribute name="uri">
> <s:assert test="normalize-space(.) = .">There must be no white space
> before or after a URI value
> </s:assert>
> <ref name="atomUri"/>
> </attribute>
> </optional>
> <optional>
> <attribute name="version"/>
> </optional>
> <text/>
> </element>
>
> So it fails on the assert there :-)
>
> Thanks Eric.
> I'll wait.
> The more I see of mixing relax NG and Schematron
> the more I like it :-)
>
> regards DaveP
YAHOO! GROUPS LINKS
- Visit your group "rng-users" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
