dev@fi.java.net

Re: StAX and TCK

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 18 Jan 2005 19:32:53 +0100

Joe Wang wrote:
> Ooops, sorry. Attached wrong file. simple.xml it is!
>
> <?xml version='1.0' encoding='us-ascii'?><!-- DTD for a "product information". --><!DOCTYPE product PUBLIC "-//BEA Systems, Inc.//DTD for product//EN" "http://dev/products"><mytext>
> this is some text
> </mytext>
>
> <!--
> <product
> name="BEA Weblogic Server 6.0"
> date="Date of Release 12/18/2000"
> copyrite="2000-2001 BEA Systems, Inc." />
> -->
>
> <?process me?>
>

This is because the XML parser is trying to access the URI that is the
system identifier:

"http://dev/products"

i.e. to access the DTD. See [1], for more details. Is there a file
called 'products' around?

Paul.

[1] http://www.w3.org/TR/REC-xml/#NT-ExternalID

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
For additional commands, e-mail: dev-help_at_fi.dev.java.net