Opened 14 years ago

Closed 14 years ago

#207 closed defect (wontfix)

stylistLoadStylesheet tries load css file as xml

Reported by: tuosu@… Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Plugin_Stylist Version: 2.0
Severity: critical Keywords:
Cc:

Description

stylistLoadStylesheet does not work cause it tries to load css file using xmlHTTPRequest which is working only when reading xml-file.

Change History (3)

comment:1 Changed 14 years ago by niko

what configuration do you use (server/browser/xinha)?
what is the error you get?

i thought with XMLHttpRequest you can make any http-request:
http://jibbering.com/2002/4/httprequest.html
"Whilst the object is called the XML HTTP Request object it is not limited to being used with XML, it can request or send any type of document, although dealing with binary streams can be problematical in javascript."

additionally we use XMLHttpRequest for reading the language-files - which are no xml-files either!

comment:2 Changed 14 years ago by tuosu@…

HTMLArea._geturlcontent function cannot read css file and req.status is 0 (initializing) and nothing can be returned. I have tried to use newest xinha-nightly build running locally from my desctop in both ie/firefox.

comment:3 Changed 14 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

running locally from my desctop in both ie/firefox.

Thats your problem, Xinha will no longer (completely) run without a web server, ie running from a file:// URL will NOT work.

Closing as WONTFIX.

Note: See TracTickets for help on using tickets.