[xml] c14n problem



Hello,

I'm seeing something weird with the xmlC14NDocDumpMemory() function, I am able to reproduce the
problem with the testC14N test program

running: testC14N.exe --exc-without-comments t1.xml

where t1.xml contains:
<doc> 
     <e1 xml:space='preserve'/> 
</doc>

I get this as output:
<doc>
     <e1 xmlns:xml="http://www.w3.org/XML/1998/namespace"; xml:space="preserve"></e1>
</doc>

I would expect:
<doc>
     <e1 xml:space="preserve"></e1>
</doc>


I belive the output should not contain the namespace declaration for the "xml" prefix since it
refers to "http://www.w3.org/XML/1998/namespace";. Is this a bug? Or am I reading the c14n spec
wrong?

Steve

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]