Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Does IDREF require a matching ID? [Thread Next] Re: [xml-dev] Does IDREF require a matching ID?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
