XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS