- From: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>
- Date: Tue, 12 Jun 2007 13:02:09 +0200
- To: XMLSec <public-xmlsec-maintwg@w3.org>
- Message-ID: <466E7D31.20700@iaik.tugraz.at>
Dear all, A simple example should illustrate the need to change the current text: Remove_Dot_Segments("no/../") did evaluate to "/" but should evaluate to the no-op (i.e. "" or null) . Remove_Dot_Segments("no/../yes") did evaluate to "/yes" but should evaluate to "yes". Remove_Dot_Segments("../") should also equal to Remove_Dot_Segments("..") resulting in "../". Other examples can be derived when trying the Exmples in http://lists.w3.org/Archives/Public/public-xmlsec-maintwg/2007May/att-0044/Apendix.html. The proposed changes relate to the so called '* several changes as in "Remove Dot Segments" ... (see Apendix)' in section 2.4 cf. "http://www.w3.org/TR/xml-c14n11/#DocSubsets" referring to the Appendix "http://www.w3.org/TR/xml-c14n11/#appendix". The proposed changes are outlined in : http://lists.w3.org/Archives/Public/public-xmlsec-maintwg/2007May/att-0044/Apendix.html http://lists.w3.org/Archives/Public/public-xmlsec-maintwg/2007May/0044.html In the Attachment is an image showing the difference between "http://www.w3.org/TR/xml-c14n11/#appendix" and "http://lists.w3.org/Archives/Public/public-xmlsec-maintwg/2007May/att-0044/Apendix.html". Blue text indicates additions. Deletions are indicated on the right side (Glöscht is German for deleted). some more points: * When copy pasting the edits I must have missed an important edit in (2 C.) maintaining relative URI references - the following test case indicates it's need . Remove_Dot_Segments("no/.././/pseudo-netpath/seg/file.ext") did evaluate to "/pseudo-netpath/seg/file.ext" but should be "pseudo-netpath/seg/file.ext" s/remove the last segment and its preceding "/" (if any) from the output buffer/remove the last segment and its preceding "/" (if any) from the output buffer and if hereby the first character in the outputbuffer was removed and it was not the root slash then delete a leading slash from the input buffer/ I'm happy to take an Action to update my proposal for early CR Feedback. * btw. (editorial Change) there is a typo in section 2.4 s/Apendix/Appendix/ Konrad -- Konrad Lanz, IAIK/SIC - Graz University of Technology Inffeldgasse 16a, 8010 Graz, Austria Tel: +43 316 873 5547 Fax: +43 316 873 5520 https://www.iaik.tugraz.at/aboutus/people/lanz http://jce.iaik.tugraz.at Certificate chain (including the EuroPKI root certificate): https://europki.iaik.at/ca/europki-at/cert_download.htm
Received on Tuesday, 12 June 2007 11:02:27 UTC