- From: Monticelli, Giuseppe <Giuseppe.Monticelli@comdirect.de>
- Date: Fri, 22 Feb 2002 10:00:41 -0500 (EST)
- 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 "comhomeUsecases.xml"> <!ENTITY comhomeNews SYSTEM "comhomeNews.xml"> <!ENTITY comhomeHilfe SYSTEM "comhomeHilfe.xml"> <!ENTITY general SYSTEM "general.xml"> <!ENTITY service SYSTEM "service.xml"> <!ENTITY nbsp " "> <!ENTITY lt "&#60;"> <!ENTITY gt ">"> <!ENTITY amp "&#38"> <!ENTITY apos "'"> <!ENTITY quot """> <!ENTITY euro "€"> ]> <system name="transactions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="languages.xsd"> &comhomeUsecases; &comhomeNews; &comhomeHilfe; &general; &service; </system> 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 problem.*** 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