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

Re: IDs without DTD/Schema , Is there a way ?

  • From: Daniel Veillard <veillard@r...>
  • To: Elliotte Rusty Harold <elharo@m...>
  • Date: Mon, 29 Oct 2001 12:41:43 -0500

get document without dtd
On Mon, Oct 29, 2001 at 11:37:05AM -0400, Elliotte Rusty Harold wrote:
> At 10:18 AM -0500 10/29/01, Daniel Veillard wrote:
> Yes, but the problem is that foo can't have an ID attribute if the document does not have a DTD.

  Hum, sounds fairly strongly worded. If an XML Schemas can define
IDs, IMHO the XML specification itself could also do this.

> No, if the document does not have a DTD, then no attribute can have type ID; i.e. there are no ID type attributes without a DTD.

  Schemas ???

> I don't think we need to change XML 1.0 to make this happen.
> Tim Bray's xml:id or ID namespace would allow us to define a second
> space of unique element identifiers encoded in attributes that are
> separate from the normal ID type attributes of the document. These
> attributes might even have type CDATA in documents without DTDs, just
> like all other attributes in such documents. Nonetheless, they could
> have all the characteristics we need for reliable, name-based linking.

  My point of view is:
  - XML Core group handling the XML spec is alive
  - XML Linking WG is not active
  
  - making my parser detect xml:id as an ID even in the absence
    of a DTD, is a 5 line patch, relatively clean
  - making yet another new class of attribute "pseudo" type for
    the intent of linking only, requires framework changes, and would
    be completely limited in scope, i.e. an architectural bad hack.

 From my point of view, I don't see your suggestion being:
   - easier to process
   - more likely to get accepted
   - more likely to get implemented

 than a proposal based on an extension of ID at the XML specification
level. It's just my point of view...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@r...  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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.