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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dss message

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


Subject: XPath expression's context


Dear all,

In lines 831 to 862 of "oasis-dss-1.0-core-spec-cd-02.pdf" about 
<XpathAfter>
<XpathFirstChildOf> the following sentence (appears 2x)

  "The XPath expression is evaluated from the context node identified by 
the
  WhichDocument attribute."

is not very clear from my point of view and should be changed to
 
  "The XPath expression is evaluated from the root node of the ancestry
  context free (opaque) xml data inside <XMLData> or the xml data parsed
  from the decoded <Base64Data> identified by the WhichDocument 
attribute as
  the context node. If the <Trsansforms> of the <Document>  to (which)
  WhichDocument refers resulted in xml data that is not well formed by 
itself a
  RequesterError should be returned"   
    // In fact the last sentence might also be true for enveloped 
signatures.
 
If this is not changed one could place the signature inside <Document> 
after <Transforms>
and the like or alternatively every XPath would have to start with 
...ds:XMLData/... or the like.

It's also hard to think of how one could refer to a node encoded 
somewhere inside
<Base64Data> from a context node identified by the WhichDocument 
attribute which
necessarily is outside the Base64Data.

I hope this makes sense.

best regard
Konrad


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