I'm sorry to have bothered you :

I solved the problem by opening DP26YI.EXE with a hex-editor  
(hexedit.exe), changing the string ' into ' and saving the new  
file as DP26YI-no-apos.exe

The result is valid XHTML that displays properly, even in Internet  
Explorer...

Best regards,
Geert


On Wed, 18 Aug 2010 16:54:38 +0200, <[email protected]> wrote:
> Hi all,
> As specified in the readme.txt file that comes with both versions DP2.6Y,
> the print format ;;W acts on all of the XML/XHTML predefined entities,
> & &amp; " &quot; ' &apos; < &lt; > &gt;
>
> This works perfectly on Opera, Firefox, Google Chrome etc.
>
> However, Internet Explorer has a problem to interpret XHTML doctype
> declarations, and shows the named character &apos; as "&apos", instead of
> showing the "'" character. It's a well-known problem and I found lots of
> articles commenting the problem.
>
> W3C suggests authors to use &#39; instead of &apos; to work as expected  
> in
> user agents that do not support XHTML (and IE is one of them).
>
> My question to the group:
> - Has any of you encountered the same problem and has anyone found a
> workaround?
>
> My question to Lew:
> - Would it be possible to create a dedicated version of DP26YI.EXE to
> address this problem (using &#39; instead of &apos;), or is there a
> workaround?
>
> Thanking you in advance for your help and ideas :)
>
>
> Geert.
>
>
>
> ================
> Related articles
> ================
> (please note that I dropped the http from each of the following URL's,  
> not
> to get them stripped from the message):
>
> 1:  inthemaze.net/post/2008/04/08/46-ie7-and-apos
> Quote:
> The XML entity "&apos;" is not displayed properly under IE7. Instead of
> showing the single quote, as I would expect, it shows "&apos;".
>
> 2:  fishbowl.pastiche.org/2003/07/01/the_curse_of_apos/
> Quote:
> &apos; was introduced as a standard entity in XML, and thus is also
> standard in XHTML. Even if you are using XHTML, if you wish to produce
> web-pages that are backwards compatible with browsers that do not support
> XHTML (and IE is one of them), you should avoid &apos;.
>
> 3:  w3.org/International/questions/qa-escapes
> Quote:
> Note, however, that, although it is part of the XML language, &apos; is
> not defined in HTML 4.01. For this reason the XHTML specification
> recommends instead the use of &#39; if text may be passed to an HTML user
> agent. In addition, some browsers do not support &apos; in HTML.
>
> 4:  w3.org/TR/xhtml1/guidelines.html#C_16
> Quote:
> The named character reference &apos; (the apostrophe, U+0027) was
> introduced in XML 1.0 but does not appear in HTML. Authors should
> therefore use &#39; instead of &apos; to work as expected in HTML 4 user
> agents.
> _______________________________________________
> Dataperf mailing list
> [email protected]
> http://lists.dataperfect.nl/mailman/listinfo/dataperf


-- 

Vriendelijke groeten,
Geert De Baets
mailto:[email protected]
Web: http://www.debaets.be

Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to