Just for fun I did
<?xml version="1.0"?>
<test>
<blarg>' & "</blarg>
</test>
in a file, named it test.html opened it in IE and I get
' & "
if it's in a file call test.xml it looks like
<?xml version="1.0"?>
<test>
<blarg>' & "</blarg>
</test>
shouldn't the <?xml declaration mean it's xml no matter the file name?
-----Original Message-----
From: Kreig Zimmerman [mailto:kkz@;foureyes.com]
Sent: Tuesday, October 29, 2002 2:23 PM
To: CF-Talk
Subject: Re: XML and IE 6 = Strange Bug
That may be true, but swapping DTDs in and out changed nothing. Already
tried that, even adding an <?xml...?> declaration. IE 6 didn't seem
fooled in the least.
But since you mention this, and thank you for the help... if XHTML 1.0
is a reformulation of HTML 4.01, I decided to see what w3.org had to
say. And i quote: [http://www.w3.org/TR/xhtml1/#guidelines]
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.
.so I guess that's the way it is.
Still it seems strange Microsoft wouldn't fudge support for it anyway.
Netscape appeared to have done so...
Kevin Graeme wrote:
>What is the datatype definition for your page? The reason I ask is "'"
>is not an official character entity type in HTML 4. If you have a declared
>DTD of HTML 4, then the fact that Netscape supports it suggests that
>Netscape is in error.
>
>-Kevin Graeme
>
>
>
>>-----Original Message-----
>>From: Kreig Zimmerman [mailto:kkz@;foureyes.com]
>>Sent: Tuesday, October 29, 2002 2:48 PM
>>To: CF-Talk
>>Subject: Re: XML and IE 6 = Strange Bug
>>
>>
>>This actually has everything to do with XML.
>>
>>It is XML-ized data I am representing.
>>
>>And XML-Safe data needs apostrophes escaped, and CFMX's built-in
>>XMLFormat() renders an apostrophe as... '
>>
>>Viz:
>>http://wdvl.internet.com/Authoring/Languages/XML/XMLFamily/XMLSynt
>>ax/sall2_5.html
>>
>>..so now you see the crux of my dilemma. The character returned via the
>>XML _doesn't display correctly_ for me, for some bizarre reason.
>>But this in IE 6. In Netscape 7? It renders _fine_.
>>
>>:P
>>
>>[EMAIL PROTECTED] wrote:
>>
>>
>>
>>>Oh wait...
>>>
>>>There is no ' special character.
>>>
>>>----- Original Message -----
>>>From: [EMAIL PROTECTED]
>>>Date: Tuesday, October 29, 2002 1:22 pm
>>>Subject: Re: XML and IE 6 = Strange Bug
>>>
>>>
>>>
>>>
>>>
>>>>What does XML have to do with your problem?
>>>>
>>>>Anyhow, let's see your code. I use the ' special character
>>>>all the time in IE6 and it works fine.
>>>>
>>>>----- Original Message -----
>>>>From: Kreig Zimmerman <[EMAIL PROTECTED]>
>>>>Date: Tuesday, October 29, 2002 10:27 am
>>>>Subject: XML and IE 6 = Strange Bug
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi Everybody,
>>>>>
>>>>>I just wanted to see if anyone had noticed the following strange
>>>>>behavior:
>>>>>In spite of Microsoft's attempts to be XML this, XML that, their
>>>>>soddingweb-browser cannot seem to handle the HTML entity
>>>>>
>>>>>
>>>>>
>>>>>
>>>>reference
>>>>
>>>>
>>>>
>>>>
>>>>>'correctly. I have taken to mapping it to its decimal
>>>>>representaion(') but this seems idiotic considering how "XML-
>>>>>y" Microsoft
>>>>>purports IE 6 to be.
>>>>>
>>>>>Has anyone else noticed this?
>>>>>
>>>>>FYI: The browser in question is...
>>>>>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR
>>>>>1.0.3705)
>>>>>
>>>>>--
>>>>>Kreig Zimmerman : Sr. Web Programmer : [EMAIL PROTECTED]
>>>>>Four Eyes Productions : Brooklyn, NY : [718]254-9557 x[104]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm