public inbox for
 help / color / mirror / Atom feed
* xml parsing error
@ 2006-03-15  2:32 Wesley Li-Wei Chou(周立瑋)
  0 siblings, 0 replies; only message in thread
From: Wesley Li-Wei Chou(周立瑋) @ 2006-03-15  2:32 UTC (permalink / raw)
  To: sid

While I am parsing .xml files come with components, I always get error from my parser.
Than I use to validate it, the output shows that the problem is in component.dtd.
Valication output:
Error: Encoding declaration is required in text declaration
 in unnamed entity at line 1 char 23 of
If I remove the <?xml version="1.0" ?> at first line or modify it as <?xml version="1.0" encoding="UTF-8"?>, it turns out to be ok.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-15  2:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-15  2:32 xml parsing error Wesley Li-Wei Chou(周立瑋)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).