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

Re: Re: determining ID-ness in XML

  • From: Tom Bradford <bradford@d...>
  • To: Tim Bray <tbray@t...>
  • Date: Mon, 29 Oct 2001 12:05:45 -0700

Re:  Re: determining ID-ness in XML
On Monday, October 29, 2001, at 11:53 AM, Tim Bray wrote:
> [Trying to keep this one on both xml-dev & ietf-xml-mime]
>
> At 08:40 AM 29/10/01 -0600, Paul Grosso wrote:
>> Here are some options (all discussed before):
>> 1.  use the internal subset to declare IDs
>
> #1 is minimal-impact.  Can it be sold?  I.e., if you
> want the "name" attr to be an ID, then you need the following
> at the top of the file with a line for each element type
> that "name" can appear on:
>
> <!DOCTYPE rootType [
>  <!ATTLIST element1 name ID #IMPLIED>
>  <!ATTLIST element2 name ID #IMPLIED>
>  ... etc...
> ]>
>
> I'm not sure it's going to be easy to get the community to
> buy into this.

Wouldn't this have even deeper implications?  By this I mean that a 
validating parser won't validate a document that has no DOCTYPE 
references (treats it simply as well-formed), but *will* try to validate 
a document in an all-or-nothing fashion if there is.  Simply identifying 
an ATTLIST won't be enough because the 'rootType' element won't be 
defined.

Just seems really kludgey to me.

--Tom


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.