Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML Exam I10-002 Topic 8 Question 64 Discussion

Actual exam question for XML's I10-002 exam
Question #: 64
Topic #: 8
[All I10-002 Questions]

Use DOM programming to create XML according to the schema defined by NewsML (portions modified for this question). Push the Exhibit Button to load the referenced "XML Document".

[XML Document]

Load the "XML Document" and update the XML according to the method shown by "DOM Processing". Select which of the following correctly describes the results of performing a validation check on the created XML against the schema ("DTD" and "article.dtd"). Assume that "article.dtd" can be parsed normally during validation. The existence of a document type declaration during validation is not reflected.

[DOM Processing]

Create XML using the following method.

Document output = createXML( doc );

The variable doc here references the Document instance of the loaded XML Document.

Assume no execution errors.

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

Sol
3 days ago
This test is trying to trip us up, I can feel it. Schrödinger's XML, both valid and invalid until we open the box. I'm going to hedge my bets and select all of the above.
upvoted 0 times
...
Pamella
11 days ago
Hmm, I'm not so sure. The question mentions 'article.dtd', so there could be some hidden complexity here. I'll go with option B, just to be safe.
upvoted 0 times
...
Lemuel
24 days ago
Wait, the question says the XML is created using DOM processing, so it should be well-formed. My money's on option D, the XML is valid against the schema.
upvoted 0 times
Timothy
2 days ago
I agree with you, option D seems like the correct choice.
upvoted 0 times
...
Aleta
3 days ago
I agree with you, option D seems like the correct choice.
upvoted 0 times
...
...
Mozell
27 days ago
This seems straightforward. The XML document is missing required elements, so it's not going to pass the schema validation. I'm going with option C.
upvoted 0 times
...
Beatriz
29 days ago
That's a good point, it's important to consider all aspects of the schema when validating the XML.
upvoted 0 times
...
Gail
1 months ago
I disagree, I believe the answer is C because not following element type declarations would also make the XML invalid.
upvoted 0 times
...
Beatriz
1 months ago
I think the answer is A because missing required attributes would make the XML invalid.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77
a