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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dss-comment message

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


Subject: Public Comment


Comment from: scabre@ac.upc.edu

Name: Sergi Cabre
Title: Telecomunications Engineer
Organization: UPC

Hi,

In section 4.6.8 of the DSS draft is described the optional output that contains the result of applying all the transforms to the referenced document. This result is inserted into a dss:Document element so "the hash value of the returned document should equal the <ds:Reference> element's <ds:DigestValue>". However, not all transforms produce as a result an xml document. For instance, given this document:

<?xml version="1.0" encoding="UTF-8" ?>
- <#> <Doc>
         <child1 Id="aaa">Text1</child1>
     <child2 Id="bbb">Text2</child2>
</Doc>

If we apply the xpath transform with xpath expresion:
   ancestor::child1
to this document, the result will be:
    Id="aaa"Text1

This result is not an xml document, so it can not be put into a Document. Moreover, some transforms such as some XSLT transforms can produce as a result a binary document.

Maybe a possible solution would be to base 64 encode the result if it is not an xml?

Regards,

Juan Carlos and Sergi


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