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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Reliable endpoints for XML docs (and doclets)

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Maden <crism@ora.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 5 Mar 1998 12:33:10 -0500

[Tom Bannon]
> Perhaps I've missed something, but I don't see that the start and
> end points of XML documents are well defined, ie. something like
> <xml> and </xml>, akin to HTML's <html> and </html>.  As XML is
> rightly obsessed with the start and end of everything else, I find
> this mystifying.  How am I to embed XML in other data (such as HTML,
> but certainly not limited to it) without such markers (other than
> hacking my own)?  An important feature of such markers is that they
> can be located without having to be able to interpret any of the
> content between them.  Implicitly defining the beginning and end of
> an XML document as [bof] and [eof] appears shortsighted, if that is
> the case.  Can you set me straight on this?

The point of XML is that you can name your own element types.  A
required one would defeat the entire purpose.

An XML document may have exactly one root element that contains
everything else.  When the first element begins, the document instance
begins.  When that element ends, the document instance ends.

See clause 2.1 in the XML specification.

By the way, xml-dev is for developers of XML applications.  Questions
of this sort are probably more appropriate on XML-L.  Send mail to
listserv@listserv.hea.ie with a body of "subscribe xml-l".

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

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/
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