W3C home > Mailing lists > Public > www-html@w3.org > January 2003


From: Dervla O'Keeffe <okeeffda@tcd.ie>
Date: Fri, 10 Jan 2003 05:52:42 +0000
To: www-html@w3.org
Message-ID: <3E78DA22@ntserver-e2w2.tcd.ie>


I am currently using Xerces DOM parser (org.apache.xerces.parsrs.DOMParser) to 
try and parse HTML by using the transitional HTML 4.01 DTD as an external DTD 
with an input xml (html) file, as per DTD on the W3 subsite at:

(I am aware that HTML is not XML, which is why I am using the DTD.)

I do not understand the following line of the DTD:

 <!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*>

This ELEMENT does not appear to have a name.  Xerces is having the same 
problem, the message I'm getting says:

[Fatal Error]  html.dtd:159.23: The element type is required in the element 
type declaration.

I would be very grateful for any help.

Thanking you,

Dervla O'Keeffe

Vita Brevis
Received on Friday, 10 January 2003 00:56:12 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:48 UTC