W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 2003

Irritating behaviour

From: <thilo.kirchheiner@techem.de>
Date: Mon, 17 Feb 2003 06:09:38 -0500 (EST)
Message-Id: <TFSMRXBK@techem.de>
To: xml-editor@w3.org

Dear editor,

maybe it's not a bug, but in my opinion the possibility of having ambiguous DTDs is rather unpleasant. An example:
<!ELEMENT elem_one (#PCDATA)>
<!ELEMENT elem_two (#PCDATA)>

These two statements are the content of a DTD, let's call it onetwo.dtd.
Two XML-Files are now in agreement with the rules:

<?xml version="1.0"?>
<!DOCTYPE elem_one System "onetwo.dtd">

<?xml version="1.0"?>
<!DOCTYPE elem_two System "onetwo.dtd">

We have one "Document Type Definition" and two different document types. Is this a bug or a feature?


Thilo Kirchheiner
TECHEM Development GmbH
Received on Monday, 17 February 2003 12:37:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:42 UTC