er.setFeature("http://apache.org/xml/features/dom/defer-node-expansion";,
true);
parser.parse(new org.xml.sax.InputSource(new
StringReader(writer.toString(;
/* and it's still Ok... */
Hi,
I use Xerces J 1.0.2 and try to validate a document with a DTD :
DTD :
XML document :
http://localhost/dtd/territoire_posterscan.dtd";>
The document seems to be valid (???).
I tried the DOMparser and RevalidatingDOMParser
Eric.
_
gt;
>
And that's the problem : Xerces tells me the document is valid !
Eric.
___
Eric SCHAEFFER
[EMAIL PROTECTED]
POSTER CONSEIL
118 rue de Tocquevill
I use an ErrorHandler, and it works well.
(Thank's to Dwayne Schultz).
Eric.
___
Eric SCHAEFFER
[EMAIL PROTECTED]
POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-1405
Do you know a shorter way ?
Eric.
_______
Eric SCHAEFFER
[EMAIL PROTECTED]
POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-140541059
___
-
element has the properties "EMPTY |
ALLOWED_HEAD" (l. 509). Thus, the calls to HTMLdtd.isOnlyOpening( htmlName )
in HTMLSerializer.java will always return true.
(But maybe that's not the reason... )
Eric.
_______
Eric SCHAEFFER
[EMAIL PROTECTED]
POSTER
ank's
Eric.
_______
Eric SCHAEFFER
[EMAIL PROTECTED]
POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-140541059
___
---
Mi
e(new Locale(language, country));
parser.parse(new org.xml.sax.InputSource(new
ByteArrayInputStream(out.toByteArray(; // SAXParseException
- Original Message -
From: Andy Clark <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 10, 2000 11:53 PM
Subject: Re: How to v