<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mark,<br>
<br>
I'm forwarding the solution to the users list, maybe some other people
might find it useful.<br>
<br>
The problem is that by default pretty print in Oxygen collapses empty
tags so that:<br>
<script type="text/JavaScript" xml:space="preserve"
src=<a class="moz-txt-link-rfc2396E" href="http://test/test.js">"http://test/test.js"</a>></script><br>
becomes:<br>
<script type="text/JavaScript" xml:space="preserve"
src=<a class="moz-txt-link-rfc2396E" href="http://test/test.js">"http://test/test.js"</a>/><br>
<br>
of course the 2 versions are XML equivalent but the browser wants only
the first notation.<br>
<br>
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.<br>
<br>
Regards,<br>
Radu<br>
<pre class="moz-signature" cols="72">--
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
<br>
On 3/30/2010 11:04 AM, Mark Wilson wrote:
<blockquote cite="mid:34FF960B523048E0884A673D6C089595@BIGBOY"
type="cite">
<title></title>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882">
Hi Mark,<br>
<br>
Some samples would be great.<br>
Just send them to our support email address if they contain private
data:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.oxygenxml.com/contact.html">http://www.oxygenxml.com/contact.html</a><br>
<br>
Regards,<br>
Radu<br>
<pre class="moz-signature" cols="72">--
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.oxygenxml.com">http://www.oxygenxml.com</a> </pre>
<br>
On 3/30/2010 7:33 AM, Mark Wilson wrote:
<blockquote cite="mid:6209317C446F4D429F3F65589DCBE096@BIGBOY"
type="cite">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882">
<div><font face="Arial" size="2">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.</font></div>
<div> </div>
<div><font face="Arial" size="2">Is this normal? I can send you the
HTML page with the css files if that would help.</font></div>
<div> </div>
<div><font face="Arial" size="2">Mark</font></div>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
oXygen-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user">http://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</body>
</html>