osdir.com
mailing list archive

Subject: Re: Preparing for XPointer - msg#00023

List: ietf.xml-mime

Date: Prev Next Index Thread: Prev Next Index

At 03:49 AM 29/10/01 +0100, Chris Lilley wrote:
>> During that thought experiment, it occurred to me that we should
>> be watching +xml registrations to ensure that, where possible,
>> "#foo" syntax is reserved for identifying fragments labelled with
>> an ID (or http://www.w3.org/2001/XMLSchema#id) type attribute of
>> value "foo".
>
>Yes.
>
>And other schems for example #xpty(foo) or #xpath(foo) or #bar(foo)
>would be clearly distinguishable.
>
>> This would ensure that XPointer could be be retrofitted into
>> 3023 later and apply to all */xml and */*+xml types.

Erk. Danger, Will Robinson. This is in danger of tripping over
what is maybe the #1 gaping architectural hole as regards XML & the
Web. The problem is that at the moment, given some arbitrary XML,
there is *no* good way to determine what's an ID without recourse
to some external resource like a DTD or schema, and that, to use
a technical term, sucks.

One could dismiss the problem and say "well, XHTML defines what
an ID is, so does SVG, and so on, and so there's no problem in
the general case because there's no general case". But I'd like
to have foo#bar be meaningful even if "foo" is served up as
application/xml.

Since fortunately there isn't much in the way of deployment of
hyperlinks trying to point into XML documents, it is NOT TOO LATE
to bite the bullet and do something radical to fix this. I at
least will be arguing in favor of this whenever I get a chance.
Which if successful would probably have an impact on one or more
media-type RFCs. -Tim




Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Preparing for XPointer

Mark Baker wrote: > > Hi all, > > In working on the registration of application/xhtml+xml, one of the > issues was how to best handle a possible transition to XPointer. > > During that thought experiment, it occurred to me that we should > be watching +xml registrations to ensure that, where possible, > "#foo" syntax is reserved for identifying fragments labelled with > an ID (or http://www.w3.org/2001/XMLSchema#id) type attribute of > value "foo". Yes. And other schems for example #xpty(foo) or #xpath(foo) or #bar(foo) would be clearly distinguishable. > > This would ensure that XPointer could be be retrofitted into > 3023 later and apply to all */xml and */*+xml types. Yes. -- Chris

Next Message by Date: click to view message preview

jensnig@xxxxxxxxxxxxx

unsubscribe jensnig@xxxxxxxxxxxxx

Previous Message by Thread: click to view message preview

Re: Preparing for XPointer

Mark Baker wrote: > > Hi all, > > In working on the registration of application/xhtml+xml, one of the > issues was how to best handle a possible transition to XPointer. > > During that thought experiment, it occurred to me that we should > be watching +xml registrations to ensure that, where possible, > "#foo" syntax is reserved for identifying fragments labelled with > an ID (or http://www.w3.org/2001/XMLSchema#id) type attribute of > value "foo". Yes. And other schems for example #xpty(foo) or #xpath(foo) or #bar(foo) would be clearly distinguishable. > > This would ensure that XPointer could be be retrofitted into > 3023 later and apply to all */xml and */*+xml types. Yes. -- Chris

Next Message by Thread: click to view message preview

determining ID-ness in XML

At 20:49 2001 10 28 -0800, Tim Bray wrote: >The problem is that at the moment, given some arbitrary XML, >there is *no* good way to determine what's an ID without recourse >to some external resource like a DTD or schema, and that, to use >a technical term, sucks. > > I at >least will be arguing in favor of this whenever I get a chance. I'm interested in this problem too. Here are some options (all discussed before): 1. use the internal subset to declare IDs 2. use a PI to declare IDs 3. put an xml:id attribute into the xml namespace Are there others? What are the pros and cons? In short, what's the right answer? paul
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by