[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Wikipedia on XML

  • From: Liam Quin <liam@w3.org>
  • To: Kurt Cagle <kurt.cagle@gmail.com>
  • Date: Fri, 21 Aug 2009 22:46:57 -0400

Re:  Wikipedia on XML
On Fri, Aug 21, 2009 at 06:09:58PM -0700, Kurt Cagle wrote:
> Keep in mind audience here. I'd be inclined rather to indicate that an XML
> document is a valid SGML document as well,

Strictly speaking, any valid (i.e. DTD-valid) XML document is also
valid SGML document.

> that for this reason there is an
> implicit assumption that a DTD exists for any created XML document type, but
> that current usage is increasingly to keep such DTD's implicit in favor of
> more explicit definitions by other schemas.

The relationship between SGML and XML is really only meaningful
for XML documents with actual DTDs.  It's not usefully the case that
there's an implicit document type declaration, and although the
vague and all-encompassing SGML definition of a document type
definition might be said to apply to any document, such a remark
would merely be vacuous sophistry.  There's no assumption that there
is a DTD for any XML document.

As for (per ERH) the DTD modifying the infoset, strictly speaking
the XML infoset specification gives us a way to describe the
result of parsing an XML document, and since DTD processing happens
as part of that process, there's no modification... although
maybe I'm being overly pedantic, as it's certainly true you can
end up with different results if you parse the same XML docuent but
with or without its DTD.  Just as you can if you use or don't use
a W3C XML Schema (XSD) thta supplies default content, for example.

Best,

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.