Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > what kind of error of this?

Reply
Thread Tools

what kind of error of this?

 
 
Richard Tobin
Guest
Posts: n/a
 
      09-11-2007
In article <. com>,
<> wrote:

>I got an error when parsing a xml file:
>[?ERR]:Not valid: root and DTD name do not match
>
>Is there any requirement that root element name shoudl match DTD file
>name?


It doesn't say file name. In an XML document, for example

<!DOCTYPE foo ...>
<foo>
...

The name "foo" in the DOCTYPE declaration must match the name of the
top level element <foo>.

-- Richard



--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
 
Reply With Quote
 
 
 
 
wenmang@yahoo.com
Guest
Posts: n/a
 
      09-11-2007
Hi, all,

I got an error when parsing a xml file:
[?ERR]:Not valid: root and DTD name do not match

Is there any requirement that root element name shoudl match DTD file
name?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One kind of error opening codebehind file in Visual Studio.NET 2003 (solved) google@eduard-ralph.de ASP .Net 0 02-01-2006 01:01 PM
what kind of error is this? micky ASP .Net 3 12-07-2005 12:34 PM
What kind of error is this?? mike ASP .Net 6 11-16-2005 03:25 AM
Re: What kind of error can cause such a problem? Ron Natalie C++ 0 06-25-2003 02:51 PM
Re: What kind of error can cause such a problem? Nils Petter Vaskinn C++ 0 06-25-2003 07:58 AM



Advertisments