This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Follwing is a IBM certification sample eaxm question Consider the following parameter entity definitions: <!entity % paras "P | Table | %lists;" > <!entity % lists "OL | UL | DL | %specialLists;" > <!entity % specialLists "MsgList | CodeList | %lists;" > Given the above parameter entity definitions, which one of the following statements is true? A.The parameter entity definitions are correct B.One or more of the parameter entity definitions uses an invalid name C.A parameter entity indirectly contains a reference to itself D.Parameter entity replacement text violates well-formedness constraints The correct answer is C, and I don't know why , I would be very thankfull if some one can please explain. Sarmad [This message has been edited by Sarmad Sindhi (edited September 06, 2001).]
If u observe carefully the 2nd and 3rd line, u'll find that there r circular references (this term is possibly not used in XML or better say recursive calls used in C/C++/Java) from the last entity reference specialists to lists which in turn points to specialists again.Entity references typically points to anither element so here it's not resolvable as the <b>lists</b> will always seek the definition for <b>speciallists</b> and the later will seek the definition of the former .... (should we call it circular reference?). Anyaway, i have XML@Whiz and not heard of IBM Sample exam. Where can i get it please? ------------------ Muhammad Ashikuzzaman (Fahim) Sun Certified Programmer for the Java� 2 Platform --When you learn something, learn it by heart! [This message has been edited by Ashik uzzaman (edited September 06, 2001).]
Ashik Uzzaman Lead Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.