OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: adding new tags without error on DTD check

[ Lists Home | Date Index | Thread Index ]
  • From: "Paul Tchistopolskii" <paul@qub.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Thu, 19 Aug 1999 11:00:12 -0700

What if you have more than one document?

I think that DTD is reasonable only in situation when you have
more than one document. DTD is kind of grammar. I think that
having grammar for only one document is kind of hypotetic
situation... I can imagine some  system which is generating
xml documents and grammar for each document, but I can't
understand what should be the purpose of such a system...


> On Wed, Aug 18, 1999 at 04:40:54PM -0700, Paul Tchistopolskii wrote:
> >
> > The easy workaround that I see is to add  the new tag to the
> > DTD with <!ELEMENT newtag ANY>
> >
> > Rgds.Paul.
> >
> > PS. However, I still think that if <!ELEMENT newtag ANY> would push
> > parser not to check for existance of the *clilds* definitions in the
> > but would realy mean 'anything that is well-formed is OK' it would
> > make our lifes easier  without introducing any ( even hypotetical)
> > trouble.  ANY is a hack anyway.
> Why not specify the new element in the XML documents internal DTD subset ?
> Cheers,
> Matt.
> PS - Hi everyone, I'm new here - if I'm wrong please tell me :)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS