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


Help: OASIS Mailing Lists Help | MarkMail Help



   Multiple DTD's

[ Lists Home | Date Index | Thread Index ]
  • From: "Chris Pratt" <chris@planetpratt.com>
  • To: <xml-dev@xml.org>
  • Date: Fri, 7 Jul 2000 13:12:36 -0700

Our project is using XHTML as the base XML dialect, and they using our own
AML (in it's own namespace) to add our own functionality.  I currently use
the following DOCTYPE in our source file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd" [
  <!ENTITY % aml SYSTEM "DTD/aml.dtd">

And everything was working fine until I added the following to the aml.dtd

<!ENTITY % boolean "(true | false)">

                value CDATA #IMPLIED
                isnull %boolean; "false"

Now I get "org.xml.sax.SAXParseException: PE reference within decl in
internal subset." because of the entity reference.  Is this the best way to
use multiple namespaces in a single document?  Is there a way that still
allows me to use these entity references in the other namespaces?  Any
insights would be appreciated.

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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