Error loading stylesheet: Parsing an XSLT stylesheet failed

Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Apr 2007
Posts: 4
Reputation: lionburn50 is an unknown quantity at this point 
Solved Threads: 0
lionburn50 lionburn50 is offline Offline
Newbie Poster

Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #1
Dec 7th, 2007
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 113
Reputation: hielo is on a distinguished road 
Solved Threads: 17
hielo hielo is offline Offline
Junior Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #2
Dec 8th, 2007
There could be various reasons. To name a few:
1. Invalid/Wrong path to the stylesheet
2. Invalid characters in the stylesheet
3. Improper syntax
4. Insufficient Permissions on the file

Open the XSL file directly through FF. If the problem is any of 1-3, then it will tell you on which line the error occured.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 4
Reputation: lionburn50 is an unknown quantity at this point 
Solved Threads: 0
lionburn50 lionburn50 is offline Offline
Newbie Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #3
Dec 8th, 2007
That's the problem I'm having, Nothing will show up, except the "Error loading stylesheet: Parsing an XSLT stylesheet failed" message.. it won't show me what line or anything, it is so annoying because I don't know what is wrong with it.

Thank you anyways!!
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 113
Reputation: hielo is on a distinguished road 
Solved Threads: 17
hielo hielo is offline Offline
Junior Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #4
Dec 8th, 2007
"Error loading stylesheet..." is typically reported by the XSL parser, not the browser. What I am suggesting is to open up Firefox and type(as an example):
http://www.yoursite.com/Project/myFile.xsl

Firefox will not try to parse/interpret your XSL file. But it will try to create a "tree-node" representative of the document. Things that the browser will spot easily for you are for example:
& instead of &
or unclosed elements (<br> instead of <br />) or mismatching elements (<span><div></div></span>)
etc.
IF the problem on the file are permissions, the browser will also report it because it will not be able to retrieve it from the server.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 14
Reputation: ritgrad83 is an unknown quantity at this point 
Solved Threads: 0
ritgrad83 ritgrad83 is offline Offline
Newbie Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #5
Jan 2nd, 2008
Originally Posted by lionburn50 View Post
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
What MIME/Type encoding are you using and is the stylesheet loaded from a server or your local machine?

In Mozilla - go to Tools > Page Info and see what the Type attribute displays
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 1
Reputation: antakos is an unknown quantity at this point 
Solved Threads: 0
antakos antakos is offline Offline
Newbie Poster

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #6
Apr 30th, 2008
Originally Posted by lionburn50 View Post
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this could be happening. I am using Mozilla, I know that the browser matters, but I've done other web pages that have turned out fine. Thank you
please help!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,177
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 481
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Error loading stylesheet: Parsing an XSLT stylesheet failed

 
0
  #7
Apr 30th, 2008
Originally Posted by antakos View Post
please help!
Post your code, we are not mind readers to find out where is problem in code you writing
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the RSS, Web Services and SOAP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC