File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Product and Other Certifications and the fly likes IBM Mock Exam: 1 Information Modeling question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "IBM Mock Exam: 1 Information Modeling question" Watch "IBM Mock Exam: 1 Information Modeling question" New topic

IBM Mock Exam: 1 Information Modeling question

Kevin Thompson
Ranch Hand

Joined: May 04, 2001
Posts: 237
Svetlana: Thanks for the answer on the other post!
I have been working on IBM's mock exam all day today also. I currently have 43 correct out of 44.
I think that this is the question that I have answered wrong I am not totally for sure)
Which of the following would raise an error if the empID attribute's data type was defined as type ID in the DTD?
a) <name empID="17563">Joe Smith</name>
b) <name empID="ft:17563">Joe Smith</name>
c) <name empID="a17563">Joe Smith</name>
d) <name empID="">Joe Smith</name>
b) and d)
Kevin Thompson
Jayadev Pulaparty
Ranch Hand

Joined: Mar 25, 2002
Posts: 662
I think the answer here is a,d; the reason being that attribute value of type ID cannot start with a number.
Svetlana Petrova
Ranch Hand

Joined: Sep 26, 2002
Posts: 50
Yes, the answers are A and D.
I was mistaken myself with answer B also. But I thought that A,B and D all three are correct answers. But than when I found this in XML Recommendation:
The Namespaces in XML Recommendation [XML Names] assigns a meaning to names containing colon characters. Therefore, authors should not use the colon in XML names except for namespace purposes, but XML processors must accept the colon as a name character."
I understood my mistake.
Good luck,
I agree. Here's the link:
subject: IBM Mock Exam: 1 Information Modeling question
jQuery in Action, 3rd edition