OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: Datatype interface for RELAX NG

> As well as base64Binary and hexBinary, this would be useful for string.

It would be very useful for binary types, but not much for string, I
guess. For example, JTREX can internally convert

<data type="xsd:string"/>



, then it can also detect that certain patterns (like this one) are
indifferent to the exact character literals.

Thus it will find that it doesn't need to store characters.

> I don't think that's an option in many cases.  It is also useful for string
> type; even with a pattern facet there is no need for the entire string to be
> in memory.

As far as I know, there is no implementation that supports streaming
validation of the regular expression. In fact, this is difficult
probably because many of the current implementations use the back-track

Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@eng.sun.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC