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

Re: So maybe ID isn't a problem after all.


browser support fragment identifier id

> My point here is that the linking is scoped to <a> tags, which disambiguate 
> the context sufficiently that ID-ness isn't needed, except perhaps for 
> validation.
Not even validation, name is CDATA not ID in HTML.

(That's ID in the XML/SGML sense, but the i-word still keeps coming up
as what really we are talking about is fragment identifiers in uri
references) 

> If it's not HTML, who cares?

You might care if it's pdf and you are using acrobat or equivalently you
are using your standard browser and it hands the file over to acrobat as
it's application/pdf. If the fragment identifier is #foo acrobat will
understand, if it is #xpointer(//*[@id='foo]) then it won't.

The point is that by using a "plain" URI fragment identifier you can
publish a uri reference that works whatever mime type is published from
the uri. Thus there are advantages in making this plain syntax work
for as large a range of documents as possible. In most mime types that
have support for fragment identifiers at all, this syntax iss either the
only or most widely used syntax. But for XML the situation is reversed
and the plain fragment identier can only be reliably used with documents
that declare ids in the internal subset. The idea of the discussion
surely is to see whether there is a way to extend the range of documents
for which these fragment identifiers may be used.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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.