Subject: [Simple] Respect comments...xcap draft seems amiss

From: [email-masked]
Date: Fri, 11 Nov 2005 19:04:29 -0500 (EST)

Hi,

Respecting the spaces and comments in the way xcap-draft-08 has defined
seems wrong.
Consider the given xml doc in the draft
<root>
    <el1 att="first"/>
    <el1 att="second"/>
    <!--comment -->
    <el2 att="first/>
   </root>
   <figure><artwork>
...
...

PUT request having the URI root/el1[@att="third"] would result in as per
the draft
<root>
    <el1 att="first"/>
    <el1 att="second"/>
    <!--comment -->
    <el1 att="third"><el2 att="first/>
   </root>
   <figure><artwork>

In the first xml doc, the client puts a comment for <el2 att="first/>.
Logically you would put comments on top of the element it belongs to.
But after the insertion the old comment now applies to the new element.

Is this intuitive on the client side? Am I missing something here?

-Anurag

_______________________________________________
Simple mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/simple