J
jacksuyu
I am a little confused about "Elimination of superfluous namespace
declarations" in the w3c C14 document.
Couple sample situations:
1.
<ParentNode xmlns="parent" xmlns:C="child">
<C:TheNode>
</C:TheNode>
</ParentNode>
If I perform C14N process on C:TheNode, will it be
<C:TheNode xmlns:C="child">
</C:TheNode>
Or just
<C:TheNode>
</C:TheNode>
2. Useless namespace
<C:TheNode xmlns:C="child" xmlns:junk="junkURI">
</C:TheNode>
After C14N process, should it be
<C:TheNode xmlns:C="child">
</C:TheNode>
or
<C:TheNode xmlns:C="child" xmlns:junk="junkURI">
</C:TheNode>
Thanks.
-- Jack
declarations" in the w3c C14 document.
Couple sample situations:
1.
<ParentNode xmlns="parent" xmlns:C="child">
<C:TheNode>
</C:TheNode>
</ParentNode>
If I perform C14N process on C:TheNode, will it be
<C:TheNode xmlns:C="child">
</C:TheNode>
Or just
<C:TheNode>
</C:TheNode>
2. Useless namespace
<C:TheNode xmlns:C="child" xmlns:junk="junkURI">
</C:TheNode>
After C14N process, should it be
<C:TheNode xmlns:C="child">
</C:TheNode>
or
<C:TheNode xmlns:C="child" xmlns:junk="junkURI">
</C:TheNode>
Thanks.
-- Jack