W3C home > Mailing lists > Public > www-html@w3.org > June 2002

Re: [xml-dev] XHTML modularisation causes strange error with MSXML

From: Nicholas Atkinson <nik@casawana.com>
Date: Sat, 29 Jun 2002 11:42:59 +0100
Message-ID: <001f01c21f59$db55d120$0300000a@natkinwkstn>
To: "Dare Obasanjo" <dareo@microsoft.com>, "Jonathan Borden" <jborden@attbi.com>, "MAISONNY Benoit" <Benoit.MAISONNY@eurocontrol.int>, <www-html@w3.org>, <xml-dev@lists.xml.org>

I have seen this error message before with XHTML 1.1 and MSXML.

The solution for me was to do some mapping in my app so that the app picked
up the type information from local files rather than remote http:// files.
(I appreciate that you may not be able to do this in IE).

You then have to change these lines in xhtml-special.ent:

<!ENTITY lt      "&#38;&#60;" ><!-- less-than sign, U+003C ISOnum -->

<!ENTITY amp     "&#38;&#38;" ><!-- ampersand, U+0026 ISOnum -->

To:

<!ENTITY lt      "&#38;#60;"> <!--  less-than sign, U+003C ISOnum -->

<!ENTITY amp     "&#38;#38;"> <!--  ampersand, U+0026 ISOnum -->

i.e. _without_ the second & in each entity.

You will then find that it works.  At least it did for me!

If any XML expert has any comments to make on which is strictly speaking
correct, or whether there is some ambiguity in the spec or something, I
would be interested to hear about this.

Hope this helps.

nik



----- Original Message -----
From: "Dare Obasanjo" <dareo@microsoft.com>
To: "Jonathan Borden" <jborden@attbi.com>; "MAISONNY Benoit"
<Benoit.MAISONNY@eurocontrol.int>; <www-html@w3.org>;
<xml-dev@lists.xml.org>
Sent: 29 June 2002 11:05
Subject: RE: [xml-dev] XHTML modularisation causes strange error with MSXML


>
> If what you want is validation the SAX parser in MSXML should be able to
validate those without problems.
>
> -----Original Message-----
> From: Jonathan Borden [mailto:jborden@attbi.com]
> Sent: Fri 6/28/2002 9:01 PM
> To: Dare Obasanjo; MAISONNY Benoit; www-html@w3.org; xml-dev@lists.xml.org
> Cc:
> Subject: Re: [xml-dev] XHTML modularisation causes strange error with
MSXML
>
>
>
> Dare Obasanjo wrote:
>
> [[
> Does this newsgroup post solve your problems
>
>
> http://groups.google.com/groups?selm=DXc2q8GFBHA.259%40cppssbbsa01.micro
> soft.com
>
> if not can you update me on what the problems you have afterwards are?
>
> Thanks.
> ]]
>
> No.
>
> Here is an example of an XML document (one that I might add conforms to a
> new international standard for medical guidelines issued by ASTM E31.28.
>
> http://www.openhealth.org/ASTM/UTI-guideline.xml
>
> This chokes my version of IE (5.5) loaded with MSXML 4.
>
> Note that if you removed the comments around the <!DOCTYPE ..> line in
>
> http://www.openhealth.org/ASTM/operative.report.example.xml
>
> the same problem occurs (this document also conforms to an international
> standard, BTW)
>
> MSXML seems unable to process DTDs that use lots of parameter entities
such
> as those of W3C XHTML. I've been mentioning this for years but no one
seems
> to care. shrug.
>
> Jonathan
>
>
>
>
>
>
Received on Saturday, 29 June 2002 06:47:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:52 GMT