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-001 Topic 7 Question 46 Discussion

Actual exam question for XML's I10-001 exam
Question #: 46
Topic #: 7
[All I10-001 Questions]

Select which statement correctly describes the XML document below.

[XML Documents]

]>

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

Alfreda
3 months ago
Wait, so you're telling me an XML document can't have a little line break? What is this, the Stone Age? My toaster has more flexibility than that!
upvoted 0 times
...
Deangelo
3 months ago
D, really? This doc is as valid as a politician's promise. The attribute value doesn't match the declared options. Nice try, though!
upvoted 0 times
Jose
2 months ago
C) This is not a valid XML document, because the attribute value is not a value listed in the attribute list declaration.
upvoted 0 times
...
Chana
2 months ago
B) This is not a valid XML document, because an attribute cannot be designated for an element that is designated as EMPTY.
upvoted 0 times
...
Georgeanna
2 months ago
A) This is not a well-formed document, because the attribute value cannot have a line feed in it.
upvoted 0 times
...
...
Mable
3 months ago
Hah, the EMPTY element with an attribute? That's a classic XML blunder. No wonder it's not valid!
upvoted 0 times
Timothy
2 months ago
User 3: Classic XML blunder for sure!
upvoted 0 times
...
Francesco
2 months ago
Lindsey: It's important to follow the rules to ensure the document is valid.
upvoted 0 times
...
Lindsey
2 months ago
User 2: I agree, it's a common mistake in XML documents.
upvoted 0 times
...
Tamera
3 months ago
User 2: I agree, an attribute cannot be designated for an element that is designated as EMPTY.
upvoted 0 times
...
Ranee
3 months ago
User 1: Yeah, that's definitely not valid. Attributes can't be designated for EMPTY elements.
upvoted 0 times
...
Marta
3 months ago
User 1: Yeah, that's definitely not a valid XML document.
upvoted 0 times
...
...
Sean
4 months ago
I agree, the line feed in the attribute value is a problem. This is definitely not a valid XML document.
upvoted 0 times
Aron
2 months ago
Exactly, the attribute value must match one of the listed values for it to be valid.
upvoted 0 times
...
Kelvin
2 months ago
So, that makes this XML document invalid.
upvoted 0 times
...
Nana
2 months ago
Yes, you're right. The attribute value 'ABC' is not listed in the declaration.
upvoted 0 times
...
Bettina
2 months ago
I think the attribute value must be one of the listed values in the attribute list declaration.
upvoted 0 times
...
Alysa
2 months ago
Exactly, an attribute cannot have a line feed in it.
upvoted 0 times
...
Lashawnda
2 months ago
So, it's not a valid XML document, right?
upvoted 0 times
...
Merrilee
3 months ago
Yes, that's correct. It makes the document not well-formed.
upvoted 0 times
...
Kris
3 months ago
I think the attribute value cannot have a line feed in it.
upvoted 0 times
...
...
Vivan
4 months ago
This is not a well-formed document, because the attribute value cannot have a line feed in it. The attribute value should be a single, continuous string.
upvoted 0 times
Nieves
3 months ago
B
upvoted 0 times
...
Wade
3 months ago
A
upvoted 0 times
...
...
Ashlyn
4 months ago
I'm not sure, but I think the attribute value being listed in the attribute list declaration is also a valid point. So, maybe C could also be correct.
upvoted 0 times
...
Honey
4 months ago
I agree with you, Fabiola. The attribute cannot be designated for an element that is designated as EMPTY.
upvoted 0 times
...
Fabiola
4 months ago
I think the correct answer is B.
upvoted 0 times
...

Save Cancel