000-349 · Question #8
Refer to Exhibit. Which one of the following statements is true with regards to the type trees created using the XML Schema Importer.
The correct answer is B. One tree was created using XSDL Hints and Xerces validation. The WTX XML Schema Importer produces structurally different type trees depending on whether XSDL Hints and Xerces validation are used, as shown in the exhibit.
Question
Refer to Exhibit. Which one of the following statements is true with regards to the type trees created using the XML Schema Importer.
Options
- AThe trees were created with different schemas
- BOne tree was created using XSDL Hints and Xerces validation.
- COne tree was created using Classic validation and XSDL Hints.
- DOne tree was created using Classic validation and the other using Xerces validation.
How the community answered
(28 responses)- A7% (2)
- B71% (20)
- C18% (5)
- D4% (1)
Why each option
The WTX XML Schema Importer produces structurally different type trees depending on whether XSDL Hints and Xerces validation are used, as shown in the exhibit.
Both type trees shown in the exhibit were imported from the same XML schema - the differences arise from the importer validation and hints settings chosen, not from different source schemas.
The WTX XML Schema Importer supports both Classic and Xerces validation modes, with an optional XSDL Hints setting that adds structural annotations to the imported type tree. When Xerces validation is combined with XSDL Hints, the importer generates a type tree whose structure and component representations differ visibly from those produced by other import configurations, which the exhibit illustrates as one of the two distinct trees.
Classic validation paired with XSDL Hints does not match what the exhibit demonstrates; the distinguishing factor in one of the trees is Xerces validation combined with XSDL Hints, not Classic validation.
The exhibit does not simply contrast Classic vs. Xerces validation alone; the key differentiator for one of the trees is the additional use of XSDL Hints alongside Xerces validation.
Concept tested: WTX XML Schema Importer Xerces validation and XSDL Hints
Source: https://www.ibm.com/docs/en/wtx
Topics
Community Discussion
No community discussion yet for this question.