Re: WS-Fragment: Another XPath subset

I have been thinking that maybe we should define multiple subsets in 
order of complexity, with one subset strictly including the previous 
one.  Similar to how WS-Fragment has three levels - QName only, XPath 
Level 1, full Xpath.

Pratik

On 10/16/2009 7:41 AM, Scott Cantor wrote:
> Frederick Hirsch wrote on 2009-10-16:
>   
>> I'm not sure I understand the harm of more than one profile of an
>> existing specification for different purposes. The core XPath spec is
>> defined and use of a profile need not be that confusing.
>>     
>
> Well, profiling is done for different reasons. One such reason is so that
> people can implement only subsets. The problem with multiple profiles is
> that you can't reuse those subset implementations.
>
>   
>> I agree it makes sense for XML Security WG to define a profile as part
>> of its work to be sure it is appropriate for security application.
>>     
>
> I think it's important that we make this extensible so that we can leave
> that part of the standard agile enough to change, and we all agreed to that
> idea.
>
>   
>>> Overall there is difference is motivations - The Dsig Xpath subset
>>> is designed with the constraints of a streaming parser. Code
>>> complexity is not issue - it just needs to be efficient in time and
>>> memory usage. Whereas the WS Fragment XPath subset is designed to
>>> reduce code complexity. However I think WS-Fragment can also benefit
>>> from streaming.
>>>       
>
> I have to disagree with this one. I think code complexity is a huge problem,
> and I favor that requirement at least as much as streaming is.
>
> -- Scott
>
>
>   

Received on Monday, 19 October 2009 16:57:29 UTC