Re: [xml] Ask a question about xmlDocDumpFormatMemory() funciton.






[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âââ



--
ââââ  â  ä  æ
âçèâ  â  å  è
âäæâ  â  å  ç
ââââ  â  ä  ä
âSEUâ â  é  å
âXu Chunrongâââ

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