Active
Project:
XLIFF Tools
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2010 at 15:54 UTC
Updated:
25 Oct 2010 at 15:07 UTC
Some problems exporting XHTML strict content that contains script tags.
If I export a node to xliff with the following node content:
<script language="javascript" src="http://www.drupal.org/foobar.js"></script>
<script language="javascript" src="http://www.drupal.org/foobar2.js"></script>
Upon import of unmodified xliff file, this is the resulting node content:
<script language="javascript" src="http://www.drupal.org/foobar.js"></script><script language="javascript" src="http://www.drupal.org/foobar2.js"></script>
<script language="javascript" src="http://www.drupal.org/foobar.js">
<script language="javascript" src="http://www.drupal.org/foobar2.js"/><br />
</script>
Comments
Comment #1
bryanschnabel commentedHello,
This looks like an XSLT error. I cannot imagine why you'd get duplicated tags during the import. I will try to duplicate the error and see if something needs to be fixed in the XSLT. If I cannot get the error to repeat, perhaps you could supply you XHTML to me, and I could get it tested directly.
Thanks,
Bryan
Comment #2
zacksears commentedHello, I am currently running into a similar issue with the XLIFF module. For me the script tag is not duplicated, but when I export a javascript tag such as:
it is getting mangled into:
Therefore causing my javascript to not function correctly cross-browser. Thanks, Zack