Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Named Character Reference ' #1040

Closed
mapserver-bot opened this issue Apr 3, 2012 · 1 comment
Closed

The Named Character Reference ' #1040

mapserver-bot opened this issue Apr 3, 2012 · 1 comment
Assignees

Comments

@mapserver-bot
Copy link

Reporter: margottid@comune.lugo.ra.it
Date: 2004/11/08 - 13:20
Trac URL: http://trac.osgeo.org/mapserver/ticket/1040

When I query a map with mapserv CGI, all apostrophes are substituted with 
character recerence "'", and this string appears on the query page 
created by mapserv.

In fatc, this is NOT a valid character reference for HTML, as you can see 
here: http://www.w3.org/TR/xhtml1/guidelines.html#C_16

----------------------------------------------------------------------------
C.16. The Named Character Reference '

The named character reference ' (the apostrophe, U+0027) was introduced 
in XML 1.0 but does not appear in HTML. Authors should therefore use ' 
instead of ' to work as expected in HTML 4 user agents.
----------------------------------------------------------------------------

The problem happens when I use Internet Explorer.
With, for example, Mozilla or Konqueror, the character reference is correctly 
interpreted.
@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2004/11/12 - 01:18

Fix the substitution string in mapstring.c.

Steve

@ghost ghost assigned sdlime Apr 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants