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

From
Dave Pawson <>
To
"Karr, David" <>
Date
2007-03-05T17:30:13Z
ID
<>
Thread
Re: [xml-dev] Does IDREF require a matching ID?
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