[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simple] Respect comments...xcap draft seems amiss
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[ at 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
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple