OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   element and entity declaration

[ Lists Home | Date Index | Thread Index ]
  • From: mika.kekkonen@vtt.fi
  • To: <xml-dev@ic.ac.uk>
  • Date: Tue, 18 Aug 1998 09:59:20 +0300

1) If I have entity declarations in my dtd, do I need the element
declarations also? I have experience that I must have element declarations
in dtd, if I have dtd. For example file

<?xml version="1.0"?>
<!DOCTYPE MODULE SYSTEM "horse.dtd">
<MODULE>
&horse;
</MODULE> 

with horse.dtd

<!ENTITY horse "horsepower">

produces all the time result that I must have declaration of MODULE
element. Why? If I don't have entities, I don't need dtd at all. 

2) Which entities all xml parsers have to know without declarations? I know
that they can handle &amp;, but how about &auml; etc?

Thanks 

Mika 




xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS