Hello Javier,

A post in an SF forum 
(http://sourceforge.net/projects/xsltforms/forums/forum/878085/topic/5207937) 
reported an issue and I read that the load method is now deprecated in 
FireFox and that XmlHttpRequest has to be used instead 
(http://forums.mozillazine.org/viewtopic.php?f=25&t=2344451).

The issue that you detected with rev540 sounds to be related to relative 
path being interpreted differently.

Is it possible for you to propose a test case for it?

Thanks!

-Alain

Le 23/04/2012 20:25, Javier Díaz a écrit :
> Hello,
>
> I have an "include" in xsltforms.xsl to another xsl, and with this
> change in r540 instead loading included xsls as relative, they are
> loading it as an absolute url. ¿Is necesary this change?
>
>
> @@ -974,16 +995,18 @@
>                                  xsltDoc = parser.parseFromString(xslt,
> "text/xml");
>                          } else {
>                                  xsltDoc =
> document.implementation.createDocument("","",null);
> +                               /*
>                                  if (xsltDoc.load) {
>                                          xsltDoc.async = false;
>                                          xsltDoc.load(xslt);
>                                  } else {
> -                                       var xhttp = new XMLHttpRequest();
> -                                       xhttp.open("GET", xslt, false);
> -                                       xhttp.send("");
> -                                       xslt = xhttp.responseText;
> -                                       xsltDoc =
> parser.parseFromString(xslt, "text/xml");
>                                  }
> +                               */
> +                               var xhttp = new XMLHttpRequest();
> +                               xhttp.open("GET", xslt, false);
> +                               xhttp.send("");
> +                               xslt = xhttp.responseText;
> +                               xsltDoc = parser.parseFromString(xslt,
> "text/xml");
>                          }
>
>
> I will explain it better:
>
> I have xsltforms.xsl in "/xsltforms/xsltforms.xsl" with an include to
> "myxsltforms.xsl". Instead loading it in "/xsltforms/myxsltforms.xsl" is
> trating to load it in "/myxsltforms.xsl". I think it is incorrect...
>
> Best Regards,
> Javier
>


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to