• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

schema question

 
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XML schema built-in datatypes ID and IDREF must only be used with attribute
declarations.

True.

False.

I guess this is true...... Any ideas......
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"For compatibility (see Terminology (�1.4)) ID should be used only on attributes. "
"For compatibility (see Terminology (�1.4)) this datatype should be used only on attributes. " (for IDREF)
Copied from http://www.w3.org/TR/xmlschema-2/#ID
Pay attention to here too
http://www.w3.org/TR/xmlschema-2/#terminology
Combine these two parts, the answer should be false, since the use of the word "must".
If we get a question like this, probably it depends on the mindset of the question maker. The only thing we can do is keeping our figures crossed.
However, be optimistic, the passing score is 58%, not 100%.
[ November 08, 2002: Message edited by: Roseanne Zhang ]
 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic