Hi,

Xerces 2.7 throws a NetAccessorException when it tries to download the
MathML2-DTD and the webserver redirects with "301 Moved Permanently". I
think this is a bug -- Xerces should follow the redirect, instead it
simply gives up (I traced the connection with Wireshark/Ethereal).

Is there a better solution than rewriting the DOCTYPE entry?

for comparison:

wget http://www.w3.org/TR/MathML2/dtd/mathml2.dtd
--10:25:05--  http://www.w3.org/TR/MathML2/dtd/mathml2.dtd
           => `mathml2.dtd'
Resolving www.w3.org... 193.51.208.70, 193.51.208.69, 128.30.52.31, ...
Connecting to www.w3.org|193.51.208.70|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mathml2.dtd
[following]
--10:25:05--  http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd/mathml2.dtd
           => `mathml2.dtd'
Connecting to www.w3.org|193.51.208.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51,651 (50K) [text/plain]

100%[====================================>] 51,651        --.--K/s

10:25:05 (3.93 MB/s) - `mathml2.dtd' saved [51651/51651]
-- 
Michael Weitzel, Universität Siegen
Lehrstuhl Simulationstechnik & Informatik im Maschinenbau
Institut für Systemtechnik
Artur-Woll-Haus (Raum AE-D 006), Am Eichenhang 50, 57068 Siegen
Telefon: (0271)740-4161, Fax: -2756

Reply via email to