Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Small DTD question

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Trimmer, Todd" <todd.trimmer AT>
  • To: "'xom-interest AT'" <xom-interest AT>
  • Subject: [XOM-interest] Small DTD question
  • Date: Thu, 15 May 2003 11:03:55 -0600

If I try parsing the following XML with validation:

<?xml version="1.0"?>
<!DOCTYPE cool [
<b />

I get a validation error saying "b" is not declared.

What is the point of using ANY, then, if I don't have the freedom to place
whatever I want under "cool"? When does ANY ever become useful?

What if all I want to do is allow some character entities in my document,
but do not want to restrict the element/attribute content in any way?

Todd Trimmer

Archive powered by MHonArc 2.6.24.

Top of Page