Next in thread → Next in month →

Re: Datatype interface for RELAX NG

From
Kohsuke KAWAGUCHI <>
Date
2001-05-31T21:11:04+00:00
ID
Thread
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"/>

to

<text/>

, 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
strategy.


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   
Next in thread → Next in month →