ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Interesting mailing list & a rare broadside
by John Cowan other posts by this author
Jun 5 2002 8:14PM messages near this date
RE: [xml-dev] Interesting mailing list & a rare broadside | RE: [xml-dev] Namespace problem
"Bullard, Claude L (Len)" scripsit:

>  Wouldn't it have been better to provide something 
>  analogous to DOCTYPE support where 
>  
>  <!DOCTYPE thisIsTheROOTforThisPass
>  
>  is explicit rathen than relying on syntactic 
>  position which may be accidental?

Not really.  In SGML the DOCTYPE declaration had to say what the root
was, because the start-tag of the root element might not appear in the
instance due to start-tag omission.  In XML there is no start-tag
omission, so it is redundant to specify the root in the DOCTYPE declaration,
as it always must agree with the first and last tags in the instance.

-- 
John Cowan <jcowan@[...].com>      http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Bullard, Claude L (Len)
John Cowan

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved