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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wss-comment message

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


Subject: Id clash case


Hi,

WSS specification [1] Lines 405-408 state-

"Two wsu:Id attributes within an XML document MUST NOT have the same 
value. Implementations MAY rely on XML Schema validation to provide 
rudimentary enforcement for intra-document uniqueness. However, 
applications SHOULD NOT rely on schema validation alone to enforce 
uniqueness."

It is not clearly stated what should happen when a wsu:Id or another 
form of ID do clash?

DOM defines behaviour as undefined and shorthand xpointer says it would 
use the first element found in that Id.

What is the implementation's expected behaviour in this case?

Thanks,
--Manveen

[1] 
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf





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