Hi,
1 - c
Most probable answer: c.
However this answer is not correct as an extended link can be composed of locators (for remote documents) and resources (for local documents):
Resource example:
<town xlink:type="resource">
<townName>Bucharest</town>
<townSize>3</townSize>
</town>
*Any* element (and its content) from the current document can be a resource.
Locator example:
<town xlink:type="locator" xlink:href="http://www.somesite.com/bucharest.html" xlink:label="capital city"/>
An arc is defined from a resource/locator to a resource/locator.
However, is it legal to define an arc from a resource/locator to itself ? Maybe somebody else can answer the question.
If the "to" and "from" attributes for an arc are not defined then all possible combinations between the resources/locators are considered except the "self" links. If the build-in mechanism does not support "self" links, are the manually specified links to "self" legal ?
2 - a
Note that there is not locator attribute at all. There is only an attribute of type xlink:type can take the value "locator".
3 - d
In a CDATA section you can write any UNICODE
string except for the string "]]>" which is used to mark the end of the CDATA section.
4 - d
For Sandeep: any entity declared with a PUBLIC or SYSTEM keyword is external. There is no special "EXTERNAL" keyword.
5 - a
For Sandeep: there is no such thing such as "internal unparsed entity". Unparsed entities are *always* external. Therefore answer b is not correct.
Answer d is incorrect also: the parameter entity can *only* be accessed in the DTD - it cannot be accessed in a XML instance, therefore it cannot be accessed in an attribute of any type.