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

is an xml:id attribute a "DTD-determined ID"?

  • From: Mike Sokolov <sokolov@ifactory.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 16 Sep 2009 14:04:17 -0400

is an xml:id attribute a "DTD-determined ID"?
Background: a customer supplies data with xi:include elements using the xpointer scheme for addressing elements in other xml files.  We put it to them that xpointer is not supported by any parsers.  Perhaps someone on this list will tell me this is not true, but I was having trouble getting anything working with the tools I have to hand and convinced the customer to use the element scheme instead. 

Now, in trying to get element() addressing working I've run into another hitch: according to Xerces documentation, (http://xerces.apache.org/xerces2-j/faq-xinclude.html), only "DTD-determined IDs" are supported as targets of element() XPointers (by Xerces).  The content at hand has ids defined using xml:id; we are not processing the XML using any DTD.

Question: is xml:id considered a "DTD-determined ID" according to the XProc spec?  I read it, and found this sentence:

[Definition: An attribute information item is a DTD-determined ID if and only if it has a [type definition] property whose value is equal to ID.]

I think that's true of xml:id, but would like it if someone more knowledgeable could confirm or deny

Thanks

-Mike


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.