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

Infoset and same-document references

  • To: xml-dev@l...
  • Subject: Infoset and same-document references
  • From: Lars Marius Garshol <larsga@g...>
  • Date: 02 Jul 2002 23:33:48 +0200
  • Sender: larsga@p...
  • User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

document references

I'm currently working on a document that describes how to map an XML
document in a particular syntax (that syntax being XTM[1]) into an
instance of a particular model. I'm building this on the XML
Information Set in order to get away from the syntax and be able to
speak more directly about the XML document.

That works pretty well, but I run into the problem of how to specify
how to create same-document references. RFC 2396 Section 4.2 says that
URI references of the form "#foo" are to be interpreted as being
internal to the current document, and this is what causes a problem
for me.

I need to specify the URI created for an element with an ID in the
current document, and this should be the concatenation of the URI of
the entity, the character '#', and the ID. The question is, how can I
describe this in terms of the XML Information Set?

Finding the URI of the document entity is easy, but I have to deal
with the URIs of other entities as well, and as far as I can tell
that's not possible. 

(And, yes, I am aware that RDF did this differently. I don't know why,
but I know that they did.)

[1] <URL: http://www.topicmaps.org/xtm/1.0/ >

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
ISO SC34/WG3, OASIS GeoLang TC        <URL: http://www.garshol.priv.no >


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.