By the way Tony,  I think that that article with a reference to ' being
introduced only for the purpose of XML is a little off target. ' was
part of the SGML spec back in 1986, and as a consequence was supported in
the original HTML usage, it was included as a standard entity in the HTML2
specification in 1995. XML did not hit the scene until 1996.

Always the problem has been when using attributes. Early browsers and early
HTML could for example understand this <img align=bottom src=filename> but
if there was a space in the value or a single or double quote in the
attribute value then things got nasty, so things had to be Escaped, or had
to use Entities, so both the following were correct <img align='bottom'
src='filename'> or <img align="bottom" src="filename"> but if the value had
a quote or single quote in it, you would need to use the other to delimit
it, not great. 

The Netscape IE wars made things very difficult with each adding their own
special attributes and mechanisms for handling things. HTML4 was an attempt
to tidy it up, but to make it work, but it did not handle the core formality
of the language. The XML1.0 specification formalised the grammar of the
language, XHTML formalised the specific vocabulary for use in XML documents.


Bye
Brian





-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tony
Sent: Saturday, 19 September 2009 7:00 AM
To: [email protected]
Subject: Re: [Dataperf] ' (apostrophe) interpreted as &apos; by the /w
switch

Brian,

I've just doublechecked to realize that one of the applications I'm using
interprets &apos; as literal while the other converts it properly to an
apostrophe. So Dataperfect is doing what it should while the problem lies
with the target application.

Problem solved.

Thanks again for all your help.

Tony

PS. This is what I've read somewhere,

 "...&apos; is not a valid HTML entity reference. The definitive list of
HTML entity references is here, and &apos; is not on it... &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;..



-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Brian Hancock
Sent: Friday, September 18, 2009 5:21 PM
To: [email protected]
Subject: Re: [Dataperf] ' (apostrophe) interpreted as &apos; by the /w
switch


Hi Tony,

If you are using HTML bold tags then why would't you want the apostrophes
conforming?

Regards
Brian


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tony
Sent: Friday, 18 September 2009 8:27 PM
To: [email protected]
Subject: Re: [Dataperf] ' (apostrophe) interpreted as &apos; by the /w
switch

Brian,

Thanks. A bit of a dilemma since by not using ;;w then you lose Dataperfect
bolding conversion.

Tony

-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Brian Hancock
Sent: Friday, September 18, 2009 7:18 AM
To: [email protected]
Subject: Re: [Dataperf] ' (apostrophe) interpreted as &apos; by the /w
switch


Hi Tony,

That I believe is by design... The /w combined with the ;;w output switch
converts the standard XML  entity characters into their entity value so
& -> &amp;
< -> &lt;
> -> &gt;
' -> &apos;
" -> &quot;
If you do not want this conversion do not use the ;;w output indicator

Regards
Brian


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tony
Sent: Friday, 18 September 2009 6:05 AM
To: [email protected]
Subject: [Dataperf] ' (apostrophe) interpreted as &apos; by the /w switch


Hi everyone,

Can someone shed some light as to why this is happening and how to get
around it?

Thanks in advance

Ton

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to