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:

Haley
21 days ago
The real question is, who let the DOM out? Woof, woof, woof, woof!
upvoted 0 times
Albina
2 days ago
A) The created XML does not include required attributes; therefore, is not valid against the schema
upvoted 0 times
...
...
Sol
1 months 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
Luke
2 days ago
I agree, it's always best to approach these types of tests methodically. I would go with option D) The created XML is valid against the schema.
upvoted 0 times
...
Laurel
20 days ago
I think that's a risky move, selecting all of the above. It's better to carefully analyze the options.
upvoted 0 times
...
...
Pamella
1 months 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
Shenika
20 days ago
User1: I think option B is the safest choice.
upvoted 0 times
...
...
Lemuel
2 months 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
Nickole
12 days ago
Great, option D it is then. The XML should be valid against the schema.
upvoted 0 times
...
Erin
16 days ago
Let's go with option D, it makes sense based on how the XML is created.
upvoted 0 times
...
Leila
16 days ago
Yeah, I think so too. If it's created using DOM processing, it should be valid.
upvoted 0 times
...
Adela
24 days ago
I think so too, since the XML is created using DOM processing, it should be valid against the schema.
upvoted 0 times
...
Timothy
1 months ago
I agree with you, option D seems like the correct choice.
upvoted 0 times
...
Aleta
1 months ago
I agree with you, option D seems like the correct choice.
upvoted 0 times
...
...
Mozell
2 months 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
2 months ago
That's a good point, it's important to consider all aspects of the schema when validating the XML.
upvoted 0 times
...
Gail
2 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
2 months ago
I think the answer is A because missing required attributes would make the XML invalid.
upvoted 0 times
...

Save Cancel