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

 


Help: OASIS Mailing Lists Help | MarkMail Help

provision message

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


Subject: Re: [provision] WSRF handling of QNames in XPath...


Jeff,
I agree that this is impractical, it's obviously very cumbersome. My opinion is that allowing users to optionally provide uri-prefix mappings takes care of those who wish to use abbreviated syntax and still provides the ability to be this verbose if necessary. This approach is also "safe" in my view because the mappings are explicit in either case.

This does raise an issue with XPath that we haven't discussed in a while that still causes me some discomfort. In general it seems to me that implementors of SPML will commonly parse XPath expressions and re-form them in the target system query language, whether that be RFC2254, SQL or something else. By leaving the definition of acceptable XPath constructs open, this may be a barrier to entry for implementors. It's unlikely in general that implementors will be XPath specialists and it's also unlikely that they will be able to take advantage of off-the-shelf implementations. Most target systems will also probably not support the full expressiveness of XPath. In any event, I'm not sure what I'm proposing except that it might be a good topic for discussion during a coffee break at the next F2F. At our last meeting I did bring up the example of SDO (ftp://www6.software.ibm.com/software/developer/library/j-commonj-sdowmt/Commonj-SDO-Specification-v1.0.doc) which defines a limited XPath syntax solely for purposes of navigating a graph of objects. The notion of doing something like this for SPML didn't go down too well, but I'm still concerned that we are pacing a large burden on implementors, and possibly not answering some questions about interoperability, if we leave it wide open.
Gerry

Inactive hide details for "Jeff Bohren" <jbohren@opennetwork.com>"Jeff Bohren" <jbohren@opennetwork.com>




          "Jeff Bohren" <jbohren@opennetwork.com>

          12/01/2004 11:24 AM



To: <provision@lists.oasis-open.org>
cc:
Subject: [provision] WSRF handling of QNames in XPath...


To see how WSRF is planning on handling QNames in XPath statements, see:

http://www.oasis-open.org/apps/org/workgroup/wsrf/email/archives/200410/msg00085.html

Essentially the notion is that is possible to create “safe” XPath statements. For instance given the namespace mapping acme=http://acme.com, the XPath:

//acme:foo

Could be written as:

/descendant::*[local-name()='foo' and namespace-uri()='http:// acme.com/']

I freely admit that this exceeds my limited XPath knowledge.

This seems to me to be impractical as a solution, but that is what they are going with.

Jeff Bohren
Product Architect
OpenNetwork Technologies, Inc

Try the industry's only 100% .NET-enabled identity management software. Download your free copy of Universal IdP Standard Edition today. Go to www.opennetwork.com/eval.


GIF image



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