in Web Technologies
1,486 views
1 vote
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
in Web Technologies
1.5k views

1 Answer

0 votes
0 votes
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true