RE: Question: Base64 Transform Nodeset Input

Hi Christian,

The inserted <comment> element (which is not an XML comment, but rather
an XML element like any other) would cause a problem for base-64
decoding.  The behavior to mimic is XPath string(), which  concatenates
all descendant text nodes.

John Boyer
Senior Product Architect, Software Development
Internet Commerce System (ICS) Team
PureEdge Solutions Inc. 
Trusted Digital Relationships
v: 250-708-8047  f: 250-708-8010
1-888-517-2675 <>  	

-----Original Message-----
From: Christian Geuer-Pollmann
Sent: Tuesday, July 31, 2001 5:55 AM
Subject: Question: Base64 Transform Nodeset Input

What does section "6.6.2 Base64" mean whan it states:

"If an XPath node-set (or sufficiently functional alternative) is given
input, then it is converted to an octet stream by performing operations 
logically equivalent to 1) applying an XPath transform with expression 
self::text(), then 2) taking the string-value of the node-set."

Is the following fragment valid input which decodes to "The URI of the 
transform is"

VGhlIFVSSSBvZiB0aGUgdHJhbn<comment>Inserting this comment should not
anything for processing</comment>


Received on Tuesday, 31 July 2001 13:17:46 UTC