adding new tags without error on DTD check

khaitan khaitan at trapezo.com
Fri Aug 20 00:40:45 BST 1999


A valid document essentially conforms to a DTD, while a well formed does
not, it just has the valid XML syntax.
So if you add new tags in the xml doc and parse it through a validating
parser, it should conform to the dtd which the xml doc refers to.
----- Original Message -----
From: <adam.eyler at natinst.com>
To: <xml-dev at ic.ac.uk>
Sent: Wednesday, August 18, 1999 1:01 PM
Subject: adding new tags without error on DTD check


> Does anybody out there know if:
>
> 1.  you have a well-formed xml file that you are parsing and validating.
> 2.  a dtd file that validates the current xml file it is checked against.
>
> If you add a new tag that is not part of the DTD description, will an
error
> result be given showing the the xml file is unable to be validated?
>
> Thanks.
>
> Adam Eyler
>
>
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list