2,657 views
1 1 vote

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
Answer:
Position:
Show:

Related questions

3 3 votes
1 answers 1 answer
3.9k
3.9k views
Ishrat Jahan asked Nov 2, 2014
3,913 views
Given below are several usages of the anchor tag in HTML.<A HREF = "http://www.gate.ac.in/HTML/BASIC/testpage.html">Test Me</A><A HREF = "/BASIC/testpage.html">Test Me</A...
6 6 votes
1 answers 1 answer
4.0k
4.0k views
sh!va asked May 7, 2017
3,973 views
XPath is used to navigate through elements and attributes inXSL documentXML documentXHTML documentXQuery document
1 1 vote
3 3 answers
2.1k
2.1k views
Ishrat Jahan asked Nov 3, 2014
2,131 views
Given below is an excerpt of an xml specification. <!DOCTYPE library SYSTEM "library.dtd" <Book <title GATE 2005 </title <type value = "BROCHURE"/ <accno>10237623786</acc...
1 1 vote
2 answers 2 answers
3.9k
3.9k views
Ishrat Jahan asked Nov 2, 2014
3,869 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...