public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Wesley Li-Wei Chou(周立瑋)" <wesley@andestech.com>
To: <sid@sourceware.org>
Subject: xml parsing error
Date: Wed, 15 Mar 2006 02:32:00 -0000	[thread overview]
Message-ID: <5678A43F683CDC488405E3DF4CE92BCF076B26@atcpcs02.andestech.com> (raw)

While I am parsing .xml files come with components, I always get error from my parser.
Than I use http://www.w3.org/2001/03/webdata/xsv 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 http://sources.redhat.com/sid/component.dtd
 
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.

                 reply	other threads:[~2006-03-15  2:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5678A43F683CDC488405E3DF4CE92BCF076B26@atcpcs02.andestech.com \
    --to=wesley@andestech.com \
    --cc=sid@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).