<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>27007</bug_id>
          
          <creation_ts>2012-02-29 16:54:56 +0400</creation_ts>
          <short_desc>Не корректно разбирается &lt;script type=&quot;text/javascript&quot;&gt;</short_desc>
          <delta_ts>2012-02-29 16:54:56 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator-fbi</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andriy Stepanov (stanv)">stanv</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>imz</cc>
    
    <cc>manowar</cc>
    
    <cc>nbr</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>129290</commentid>
    <comment_count>0</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2012-02-29 16:54:56 +0400</bug_when>
    <thetext>Если попробовать вставить в
ui/&lt;некий модуль&gt;/index.html

код:

 &lt;script type=&quot;text/javascript&quot;&gt;
            var count = 20
            var redirect= &quot;http://&quot; + self.location.hostname + &quot;:8080/update/up.html&quot;

            function countDown(){  
              //  if (0 &gt;= count) {  
                if (count &lt;= 0) {  
                    window.location = redirect;  
                }else{  
                    count=count-1;  
                    document.getElementById(&quot;timer&quot;).innerHTML = &quot;This page will redirect in &quot;+count+&quot; seconds&quot;  
                    document.getElementById(&quot;gobtn&quot;).style.display =&quot;None&quot;  
                        setTimeout(&quot;countDown()&quot;, 1000)  
                }
            }
        &lt;/script&gt;

тогда index.html не может роспарсить парсер alterator-fbi:

XML Parser: Parse error at line 11:not well-formed (invalid token)


У себя проблему я решил, что 
if (count &lt;= 0) { 
заменил на:
if (0 &gt;= count) {


Пробовал использовать вариант:
&lt;script src=&quot;url&quot;/&gt;
но он не работает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>