Re: Outdated XSL, What are my options?

Subject: Re: Outdated XSL, What are my options?
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Fri, 19 Mar 1999 15:57:05 -0500 (EST)
[David Schach]
> I get the following error:
> 
> System does not support the specified encoding. Line 1, Position 28 
> 
> <?xml encoding="US-ASCII"?>
> 
> I think the encoding name is case sensitive so it should be
> "us-ascii" or "iso-8859-1".

XML 1.0 §4.3.3 says:

<quote>
   Note that these registered names are defined to be case-
   insensitive, so processors wishing to match against them should do
   so in a case-insensitive way.
</quote>

> Also, shouldn't the xml declaration include version="1.0"?

Depends on where it occurs.  At the start of a document, yes, but in a
TextDeclaration ([77]) at the top of a parsed entity, the version
parameter is optional.

-Chris

[For those of you also reading xml-dev, I am a member of the XSL WG,
 but do not speak for them.]
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread