Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » XML: No embedded stylesheet instruction for file:
XML: No embedded stylesheet instruction for file: [message #687567] Wed, 22 June 2011 14:41 Go to next message
notfed is currently offline notfed
Messages: 2
Registered: June 2011
Junior Member
Hi,

I am having trouble adding an XML resource file to eclipse. I need to add an XML file for Spring BeanFactory, not sure what the best way to do this is.

Right now, I simply have a file "context.xml" added to my Eclipse Java project's main package. The problem is, whenever I compile the project, I see this error:

14:35:08,640 FATAL [main] Main  - No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
	at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:225)
	at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:186)
	at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:73)
Caused by: org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: No embedded stylesheet instruction for file: file:/C:/Users/Jay.MVP/workspace/TrySpringIoC/src/jayspringioc/context.xml
	at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(JAXPSAXProcessorInvoker.java:214)
	... 2 more


It wants a STYLESHEET for my XML File!?!? How do I get around this issue?
Re: XML: No embedded stylesheet instruction for file: [message #687602 is a reply to message #687567] Wed, 22 June 2011 16:14 Go to previous messageGo to next message
notfed is currently offline notfed
Messages: 2
Registered: June 2011
Junior Member
Oh, I think I've got it. Just don't have the file open when I try to build. Duh. Is this a common error that people see and eventually get used to it?
Re: XML: No embedded stylesheet instruction for file: [message #1017177 is a reply to message #687602] Sun, 10 March 2013 12:19 Go to previous message
David Furshpan is currently offline David Furshpan
Messages: 1
Registered: March 2013
Junior Member
I was pulling my hair - You are way pass being genius!
Previous Topic:Missing requirement when exporting product
Next Topic:Eclipse error : SHA-1 not available
Goto Forum:
  


Current Time: Wed Apr 23 02:49:57 EDT 2014

Powered by FUDForum. Page generated in 0.05251 seconds