RE: Re: Response to Daniel's review comments (Re: [Schematron-love-in] Committee Draft of ISO Schematron available)
[email protected] Thu, 1 Jul 2004 11:11:49 +0100
| Newsgroups | gmane.text.xml.schematron |
|---|---|
| Message-ID | <[email protected]> |
Rick said:
>stick to something that can be validated using IDREFS.
>
>Daniel says: Interesting. I think a schematron implementation can
>validate schematron schemas with a schematron schema too,
Incest on a really grand scale :-)
so this kind
>of restriction can be easily checked, instead of relying
on IDREFS. In
>fairly big schemas, I think it will be very inconvenient
to modify all
>asserts just to include a new language. You already have
constraints
>that can't be expressed with RelaxNG and are added as a normative
>Schematron schema. This could be part of it. But now the
question is:
>how on earth do you split a string with XPath/XSLT alone?
:S ... Too bad... only EXSLT can do so easily :(.
>I guess there's no workaround for this...
>
>
That is a good point. Does anyone know, does XPath2
provide any extra features
that would be useful for IDREFs? (I believe that XPath
and XSLT have
such bad
support for IDREFs because they expected XLink complex
links to take over.)
xslt 2 has full regex support. That should sort out string
splitting.
HTH DaveP
--
DISCLAIMER:
NOTICE: The information contained in this email and any attachments is
confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of the
content of it or of any attachment; you are requested to notify the
sender immediately of your receipt of the email and then to delete it
and any attachments from your system.
RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it
cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email and
any attachments are those of the author and do not necessarily represent
those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com