Re: [xml] External DTD

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Aug 25 1999 - 10:00:52 EDT


> did you find the bug ?

  Yep, your DTD is wrong:

~/XML -> ./tester --valid Reverb.qm
qm.dtd:1: error: Content error in the external subset
<!DOCTYPE quasi_module [
^
qm.dtd:1: error: Extra content at the end of the document
<!DOCTYPE quasi_module [
^

 ....

The external subset (DTD) must follow production [30] of the XML
specification:
  http://www.w3.org/TR/REC-xml#sec-prolog-dtd

By removing the fist and last line of qm.dtd the input validated
without problem

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:43 EDT