[oXygen-user] Potential IE whitespace issue in Oxygen
Steven Ericsson-Zenith
Tue Jan 12 13:55:10 CST 2010
Thanks for the feedback George.
So, if I understand you correctly, there are no binary whitespace
characters added that might trip IE up. However, Visual Studio does
seem to show some at the tail of the file. A material difference is in
the way that empty elements are handled, and in this case there
appears to be 10 such expansions. Can you tell which of these
expansions is tripping IE up?
I honestly do not think this is you problem since both version
validate perfectly well. It is a problem in IE - which unfortunately
makes it a problem that can't be ignored by any of us.
The most frustrating aspect of this problem is that IE and the
associated development tools provide no indication whatsoever of where
the problem might be.
With respect,
Steven
--
Dr. Steven Ericsson-Zenith
Institute for Advanced Science & Engineering
http://iase.info
http://senses.info
On Jan 12, 2010, at 2:40 PM, George Cristian Bina wrote:
> Hi Steven,
>
> With the default settings and using the XML Accurate as algorithm I
> get 294 differences between the two files.
> Enabling the "Ignore whitespaces" option results in 10 differences.
> Enabling also "Ignore expansion state for empty elements" gets no
> differences.
>
> So, basically all the changes are in how empty elements are written.
>
> oXygen does not apply any formating if you open a file in the Text
> page, unless you turn on "Format and indent the document on open".
> However, if you open the document in Author mode then oXygen will
> parse the document on open and will serialize it on save, that
> causing a formatting to be applied according with the format and
> indent settings. I suppose that happened in your case.
> We are working to make the Author mode to keep the document part
> that was not changed as it was wrt formatting. Hopefully that will
> be available in the next maintenance release.
>
> Best Regards,
> George
> --
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> Steven Ericsson-Zenith wrote:
>> Try
>> http://www.memeio.com/index.xhtml
>> and
>> http://www.memeio.com/saved-by-oxygen.xhtml
>> The Oxygen "compare files" notes no differences between these
>> files, yet one is rendered by IE and the other is not.
>> I develop on the Mac but if you load these files into Visual Studio
>> on a Windows machine you will discover the same effect, one
>> renders, the other does not. And if you really want to be misled
>> (or find the real problem) in Visual Studio: in the file that does
>> not render, delete the javascript imports from the header one at a
>> time starting with my code and then Yahoo's. The page will render
>> after you delete the YUI utilities.js import.
>> No problem is evident in any other browser and the issue appears
>> relevant to all versions of IE.
>> With respect,
>> Steven
>> --
>> Dr. Steven Ericsson-Zenith
>> Institute for Advanced Science & Engineering
>> http://iase.info
>> http://senses.info
>> On Jan 12, 2010, at 11:17 AM, Dan Caprioara wrote:
>>> Hello,
>>>
>>> This is an unusual situation.
>>>
>>> Please send us (support at oxygenxml.com) the original file and
>>> the one from the server.
>>>
>>> Many regards,
>>> Dan
>>>
>>> Steven Ericsson-Zenith wrote:
>>>> Dear George et al.,
>>>> I note a problem that cost me several hours of debugging.
>>>> If I generate a strict and validated xhtml file through Saxon
>>>> and then read it into the editor so that I can save it to a
>>>> URI, the file no longer renders in IE, though it is still fine
>>>> in other browsers. If I simply copy the file to it's
>>>> destination with a filesystem copy then it works fine in IE.
>>>> I am surprised that IE barfs on whitespace, but also concerned
>>>> that Oxygen adds something troublesome into the file. On a
>>>> brief inspection the problem seems to be both in the main text
>>>> (the header is where I traced an unexplainable issue to using
>>>> Visual Studio) and in the tail of the file, which appears to
>>>> have garbage attached.
>>>> With respect,
>>>> Steven
>>>> --
>>>> Dr. Steven Ericsson-Zenith
>>>> Institute for Advanced Science & Engineering
>>>> http://iase.info
>>>> http://senses.info
>>>> _______________________________________________
>>>> oXygen-user mailing list
>>>>
>>>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>> _______________________________________________
>> oXygen-user mailing list
>>
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list