[oXygen-user] Format disables JQuery script( more files)
Radu Coravu
Tue Mar 30 04:08:41 CDT 2010
Hi Mark,
I'm forwarding the solution to the users list, maybe some other people
might find it useful.
The problem is that by default pretty print in Oxygen collapses empty
tags so that:
<script type="text/JavaScript" xml:space="preserve"
src="http://test/test.js"></script>
becomes:
<script type="text/JavaScript" xml:space="preserve"
src="http://test/test.js"/>
of course the 2 versions are XML equivalent but the browser wants only
the first notation.
So in the Oxygen Preferences->"Editor / Format / XML" page you can check
the checkbox "Expand empty elements" to avoid problems like this when
working with XHTML.
Regards,
Radu
--
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 3/30/2010 11:04 AM, Mark Wilson wrote:
> Hi Mark,
>
> Some samples would be great.
> Just send them to our support email address if they contain private data:
> http://www.oxygenxml.com/contact.html
>
> Regards,
> Radu
> --
> Radu Coravu
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 3/30/2010 7:33 AM, Mark Wilson wrote:
>> I have an XHTML page constructed in Oxygen 11.2. It contains a
>> JavaScript that works until I click the "Format and Indent" menu
>> icon. After I do that, the script no longer works. Note: the script
>> does not appear to change - all of the changes occur within the body
>> of the HTML.
>> Is this normal? I can send you the HTML page with the css files if
>> that would help.
>> Mark
>>
>>
>> _______________________________________________
>> oXygen-user mailing list
>>
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20100330/5718127d/attachment.html
More information about the oXygen-user
mailing list