Re: Streaming ITS processor

Asgeir Frimannsson さんは書きました:
> Felix, Jirka, all,
>
> On Saturday 14 June 2008 01:43:02 Felix Sasaki wrote:
>   
>>> Reading through the ITS spec, it seems like ITS only uses a subset of
>>> xpath, limited to the child and attribute axes (same as xslt patterns).
>>>       
>> in XSLT patterns you can have predicates, like "*[predicate]" , which
>> can make use of any axis. Would you limit the content of these too?
>>     
>
> This would make streaming-implementations slightly more complicated yes :) 
> Thank you both for pointing out this issue. 
>   

sorry for the overlap in replies, I did not see Jirka's mail while 
sending mine.

> I guess for many (if not most) formats, limiting the content of predicates 
> would be feasible, and this would also speed up the xpath processing. Creating 
> a streaming-like ITS processor that could handle "most documents" in a more 
> efficient manner could perhaps be a useful alternative to a memory-intensive 
> processor that can handle all documents... 
>   

I've cretated a Wiki page
http://www.w3.org/International/its/wiki/ITS_Simplified_XPath
linked from
http://www.w3.org/International/its/wiki/ITS_Processing
Which contains a proposal for a simplified EBNF. Asgeir or others: Could 
you see if it fits your needs, and edit the page accordingly? If you 
have problems with the Wiki account please tell me.

Felix

Received on Saturday, 14 June 2008 15:26:01 UTC