Assume that a certain XMLDB can perform a validation check using DTD.
Further assume that this XMLDB can create an XDM from the post-validation XML Information Set (Infoset), store this XDM in the XMLDB, and retrieve the XDM from the XMLDB.
Consider using the following [example.dtd] to perform a validation check, and inserting the [XML Document] below into the XMLDB. A validation check is not performed when retrieving XML data from the XMLDB.
In this case, select two statements correctly explaining the XML data retrieved from the XMLDB.
Answer : B, D
Select the correct result of executing the [XOuery] on [example xml] referenced in a separate window.
Answer : A
See separate window.
Assume you wish to execute a query on [example xml] (separate window) to obtain a record element that includes a data element for which the condition attribute value is "good," and for which the element value is 100 or less. Select the correct result of executing the [XQuery] (separate window). The expected result would be "C;" however, the query may not be processed as expected.
Answer : D
A certain Web application displays user information according to user input via Web browser. The XML data managing user information is as shown in [example xm I] referenced in a separate window.
At this time, the Web application completes the [XQuery] by replacing (1) and (2) with the user input character string, and executes the query.
No character escapes (e.g. convert "<" to "<") are performed for character string input by the user.
Select the query execution result when the user input character string is as follows:
(2) OK
Answer : A
Consider the structure of XML when storing date information as XML data. You must aggregate data for each calendar year from this XML data. Assume that statistical values related to the storage and retrieval of date information in a certain XMLDB is as follows:
[Date Information XML Structure A]
[Date Information XML Structure B]
[Statistical Values] (assumed)
The search for one date node (XML structure A) or one y node (XML structure B) takes one microsecond in either case, regardless of search path.
With respect to structure A, two microseconds are required for each date node to determine whether the date element value matches the search year.
With respect to structure B, one microsecond is required for each y node to determine whether they element value is the same as the search year value.
The number of date elements at the initial state is 2000.
The number of date elements will increase with future updates; however, this is not a consideration for this question.
Insertion of a new date element under structure A takes 10 microseconds.
Insertion of a new date element under structure B takes 20 microseconds.
Do not consider any facts or conditions other than those noted above.
When the average number of new date element insertions per month is 20, and the average number of calendar date information searches per month is 10, which is the most effective XML structure in improving overall execution efficiency for insertions and searches?
Answer : B
Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.
Answer : B
Select which of the following is not a correct description regarding dynamic context defined by XQuery 1.0.
Answer : D