Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Does IDREF require a matching ID?

From: Dave Pawson <davep@-------.--.-->
To: "Karr, David" <david.karr@----.--->
Date: 3/5/2007 5:30:00 PM
Karr, David wrote:
> This may be a trivial question in this audience, but if you have an
> attribute defined in the schema as "xs:IDREF", does there also have to
> be at least one attribute defined in the schema as "xs:ID", and a
> similar relationship in the XML instance document, with the IDREF value
> matching at least one ID attribute?  If this relationship does not hold
> true, does this mean that the document is not valid?

It makes (simple) sense to have a matching id for an idref?
This applies in the instance... when the schema is available.

Invalid? No I don't think so.
Silly? possibly.

"Hey over there", he said, pointing at nothing.
(Women don't do that.. do they?)


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent