2,053 views
1 votes
1 votes

Consider an XML file called intro.xml and a document type defintion (DTD) file intro.dtd as follows:

intro.xml

<?xml version = "1.0"?>
<!DOCTYPE myMessage SYSTEM "intro.dtd"›
<myMessage>
       <message>Welcome to XML</message>
</myMessage>
intro.dtd
<! ELEMENT myMessage (message)>
<! ELEMENT message (#PCDATA)>

A validating parser will classify intro.xml as

  1. Well-formed and validated
  2. Well-formed but not validated
  3. Validated but not well-formed
  4. Neither validated nor well-formed

1 Answer

Answer:

Related questions

5 votes
5 votes
1 answer
2
sh!va asked May 7, 2017
3,407 views
XPath is used to navigate through elements and attributes inXSL documentXML documentXHTML documentXQuery document
1 votes
1 votes
3 answers
3
1 votes
1 votes
2 answers
4
Ishrat Jahan asked Nov 2, 2014
3,068 views
Which of the following objects can be used in expressions and scriplets in JSP (Java Server Pages) without explicitly declaring them?session and request onlyrequest and r...