W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > April to June 2000

Re: some basic xpointer questions

From: Eve L. Maler <Eve.Maler@east.sun.com>
Date: Mon, 12 Jun 2000 16:03:01 -0400
Message-Id: <4.3.1.2.20000612160218.00cd0820@abnaki.East.Sun.Com>
To: w3c-xml-linking-ig@w3.org
Cc: www-xml-linking-comments@w3.org
Ahem.  Good points.  I think we need to count this as a comment against 
XPointer (Daniel, can you add it to the issues list?), and discuss it as 
soon as our schedule allows.

         Eve

At 06:03 PM 6/9/00 -0400, Paul Grosso wrote:
>In last week's XML Core WG's telcon, some very basic questions
>about xpointer arose.
>
>How does the fact that "xpointer points into a resource
>whose mime type is XML" reconcile with the idea that xpointer
>points into an Infoset (or, specifically the "data model"
>defined by XPath, since XPath preceded the existence of an
>official infoset)?  Is it just an error to label a resource
>as "XML" if it doesn't have an infoset?  (Note that there
>almost certainly will be XML 1.0 well formed documents that
>do not have infosets, such as those that contain names with
>colons that are not namespace-conformant.  This *might* even
>include documents with relative namespace names, depending
>on the outcome of the Great NameSpace Debate (GNSD).)
>
>Are XML external parsed entities resources of mime type XML
>or not?  If so, does xpointer point into them?  Do external
>parsed entities have an infoset, or are they just part of
>the infoset of the complete XML document that references them?
>
>If xpointer is used to point to an external parsed entity, what
>does the xpointer "/1" mean?  How do you point to the bar
>element in:
>
>   <?xml version="1.0" encoding="utf-8"?>
>   <foo>abcd</foo> and <bar>xyz</bar>
>
>or the string "move" in:
>
>   <?xml version="1.0" encoding="utf-8"?>
>   A <strong>bold</strong> move!
>
>paul

--
Eve Maler                                    +1 781 442 3190
Sun Microsystems XML Technology Center    elm @ east.sun.com
Received on Monday, 12 June 2000 16:02:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:40 GMT