W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Xerces2 and DTD together with Schema

From: Monticelli, Giuseppe <Giuseppe.Monticelli@comdirect.de>
Date: Fri, 22 Feb 2002 10:00:41 -0500 (EST)
Message-ID: <3DE82677F9A4D411A9640008C75FA200021E1655@qbexgp17.de.comdirect.com>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Good mornig.

When I try to use an internal DTD declaration in my XML instance (to handle
entities), the Xerces 2 parser can't find the defined Schema. So all
elements defined in the Schema are invalid for him (while not in the DTD).
Here is the whole XML instance:

		<?xml version="1.0" encoding="ISO-8859-1"?>

		<!DOCTYPE system [
			<!ENTITY comhomeUsecases SYSTEM
			<!ENTITY comhomeNews SYSTEM "comhomeNews.xml">
			<!ENTITY comhomeHilfe SYSTEM "comhomeHilfe.xml">
			<!ENTITY general SYSTEM "general.xml">
			<!ENTITY service SYSTEM "service.xml">
			<!ENTITY nbsp "&#32;">
			<!ENTITY lt "&#38;#60;">
			<!ENTITY gt "&#62;">
			<!ENTITY amp "&#38;#38">
			<!ENTITY apos "&#39;">
			<!ENTITY quot "&#34;">
			<!ENTITY euro "&#8364;">

		<system name="transactions" 


I use JAXP 1.1 in Visual Age 3.5 for Java.

***The internal parser of Xml Spy 4.2 works wonderful, and doesn't know this

Does anyone know a solution or have an explication?

Thank You in advance,

Giuseppe Monticelli, Quickborn (Germany)

comdirect bank Aktiengesellschaft
Pascalkehre 15, 25451 Quickborn
(HRB 4889 Pinneberg)
Internet: www.comdirect.de

Vorstand: Dr. Andre Carls, Christian Jessen, Hans-Joachim Nitschke, Bernt Weber.
Vorsitzender des Aufsichtsrates: Klaus-Peter Mueller
Received on Saturday, 23 February 2002 05:17:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:59 UTC