I think you are pretty close here Paul. The   is the non-breaking space 
entity for HTML. For XHTML (which must be valid XML) this is not a defined, 
named entity. The only named entities for XML are &, > and &lt. For a 
non-breaking space you need to use the Unicode character code:  .

How does this relate to Analog? Version 6.0 produces reports in XHTML, 
including the <?xml...> header tag. Analog is emitting the &nbsp; named entity 
(apparently for column spacing). This is a bug, but not one that seems to have 
affected most analog users. 

I don't believe that either analog or anlgform.pl includes any strict XML 
parser (especially as so many users have had no trouble with this) so I believe 
that it actually is your browser or something between anlgform.pl and your 
browser that is enforcing the XML restrictions.

I would suggest testing your report with another browser (to see if it's your 
browser) or testing the sample report 
(http://www.chiark.greenend.org.uk/~sret1/stats/) with your browser (to see if 
it's something in your network).

--
 
Jeremy Wadsack
Seven Simple Machines


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:analog-help-
> [EMAIL PROTECTED] On Behalf Of Paul Wade
> Sent: Friday, August 03, 2007 7:49 AM
> To: [email protected]
> Subject: [analog-help] Re: Entity 'nbsp' not defined
> 
> Hi,
> 
> I'm probably completely wrong, but this looks like an XML/XHTML issue to
> me.
> 
> '&nbsp;' (no quotes) is the (X)HTML equivalent of a non-breaking space,
> but
> the '&' (no quotes) ampersand character can also be used in Javascript or
> CSS
> declarations for example and this can cause problems with an XML browser.
> 
> Check all the XML headers at the top of your output, it could even be
> something as minor as a missing <,? or space. Also check the XML namespace
> is
> defined correctly and is accessible. Then look for extra spaces, missing
> quotes or semicolons further down your document.
> 
> Hoping this helps!
> 
> Paul
> 
> 
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to