- From: Asir Vedamuthu <asirveda@microsoft.com>
- Date: Thu, 5 Nov 2009 01:01:57 +0000
- To: "public-ws-resource-access@w3.org" <public-ws-resource-access@w3.org>
> This may lead to unpredictable behavior because, > in general, the person/software that composed the > wsf:Expression cannot know, a priori, what namespace > declarations will be in scope We do not understand the basis for this danger. Any consumer can query the [in-scope namespaces] property [1] of an element information item and retrieve in-scope namespaces! XML Schema, XML Query and XSLT W3C Recommendations use the property successfully without introducing any prefix mapping. [1] http://www.w3.org/TR/xml-infoset/#infoitem.element Regards, Asir S Vedamuthu Microsoft Corporation -----Original Message----- From: public-ws-resource-access-notifications-request@w3.org [mailto:public-ws-resource-access-notifications-request@w3.org] On Behalf Of bugzilla@wiggum.w3.org Sent: Wednesday, November 04, 2009 4:19 PM To: public-ws-resource-access-notifications@w3.org Subject: [Bug 8196] New: inheriting enveloping namespace prefixes is dangerous http://www.w3.org/Bugs/Public/show_bug.cgi?id=8196 Summary: inheriting enveloping namespace prefixes is dangerous Product: WS-Resource Access Version: PR Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Fragment AssignedTo: public-ws-resource-access-notifications@w3.org ReportedBy: gilbert.pilz@oracle.com QAContact: public-ws-resource-access-notifications@w3.org In Section 6, "XPath Level 1 Expression Language", of WS-Fragment it states that "The namespace bindings are evaluated against any namespace declarations that are in scope where the XPath appears within the SOAP message." This may lead to unpredictable behavior because, in general, the person/software that composed the wsf:Expression cannot know, a priori, what namespace declarations will be in scope (i.e. they don't know what the complete SOAP envelope will look like). Strawman Proposal: Use something like the <prefixMapping> element from CMDBf [1] [1] http://www.dmtf.org/standards/published_documents/DSP0252_1.0.0.pdf -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug.
Received on Thursday, 5 November 2009 01:02:35 UTC