Since the free voucher program closed, now we can discuss the sample test problems. Anyone knows the answer of this one. Just don't understand the question. An XML-based employee records application is populated from a back-end relational database. Each employee has a unique numeric employee ID number that serves as the database key for that employee. The XML has an associated DTD. Validating the employee ID data would be: a) Handled by the parser associating the employee name to a unique ID attribute with the XML employee application providing the business logic or functionality. b) Handled by the parser associating a unique ID element with the XML employee application providing the business logic or functionality. c) Handled by the XML parser using a SAX parser and relying on event-handling to capture the value of a unique ID attribute and the XML employee application would deal with user interface and rendering issues.
d) Handled by the XML parser as a non-unique CDATA attribute, with verification, business logic and functionality being provided by the XML employee application.
e) Stored in an empID element, with a SAX parser capturing the element's character content and evaluating it, reporting the result to the XML employee application for further processing.
I will go with C as well. Note that XML applications are designed for user-interface and rendering functionality and not for business logic. Business logic is provided by enterprise software components, e.g. EJB and Servlets.