[X_ERROR] <xaddrmsg.c: 145> Meet a wrong XML element
[X_ERROR] <xaddrmsg.c: 147> invalid xml Element text
But if client software calls
xmlDocDumpFormatMemory(pdoc, &tmp,&len,0),there is NO ERRORs as above, and my program works.
server output is:
MESSAGE received.
<?xml version="1.0"?>
<MARequest><RequestID>706de392-af8c-4cef-b641-5affbf719ec7</RequestID><OperationType>RENT</OperationType><OwnerIP>2001:da8:1001:4::4</OwnerIP><Scope>5</Scope><MAddrType>UNIMCAST</MAddrType><MAddrQuantity>6</MAddrQuantity><StartTime>2007/03/08 15:31:01</StartTime><Duration>4567</Duration></MARequest>
*/
Sorry , Here server output is:
MESSAGE received.
<?xml version="1.0"?>
<MARequest><RequestID>706de392-af8c-4cef-b641-5affbf719ec7</RequestID><Duration>4567</Duration></MARequest>
SO MY QUESTION IS:
Does xmlDocDumpFormatMemory()
function have any differences between winxp and linux, while parsing formated xml strings?
Thanks...
--
╔══╗ ┋ 何 既
║痴说║ ┋ 劳 解
║人梦║ ┋ 弦 琴
╚══╝ ┋ 上 中
═SEU═ ▓ 音 味
═Xu Chunrong══◤