[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[xml] Urgent!! ERROR of Invalid IODEF (DTD Error)
- From: Bipin Mistry <bpnmistry 30gigs com>
- To: xml gnome org
- Subject: [xml] Urgent!! ERROR of Invalid IODEF (DTD Error)
- Date: Sun, 1 Oct 2006 21:17:51 -0500
I am creating XML with xmlTextWriter...() functions.
I Where by whole XML is written properly...
I debug mode when I see buf->content contents it shows me proper DTD tags.
By for sending it to server via HTTP I need to convert it to char *
strcpy(pXmlBuff, (const char *) buf->content);
Is the way I am converting it to char *, Which is making DTD tag with junk
characters.
sample... is in the file attached here with.
Where you can notice the
"42ac10-extension" insted of "% x-extension"
"0-extension;]>" insted of "%x-extension;]>"
I am unable to know how to fix this prob...
Definately it is in some of my code...
Am I awrong at copying to char* , should i use sone other datatype...
I am an Japanese environment developer, dose this MBCS environemt is generating
these problems.
Please suggest some solution to this.
Bipin-----------------------------------------------------------
Hi..! Get this Exclusive Offer From 30gigs.com.
Free Ipod Nano! Click Here.
Don't have 30gigs email account yet?
Sign up and get your 30GB Webmail account Now!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE IODEF-Document
SYSTEM "draft-iodef-030.dtd" [
<!ENTITY 42ac10-extension SYSTEM "draft-additional-010.dtd">
0-extension;]>
<IODEF-Document version="0.30" xmlns:iodef="urn:iana:xml:ns:iodef">
....
</IODEF-Document>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]