Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ERROR: ‘Not implmented in this version’ for xml transfom.-Please help
ERROR: ‘Not implmented in this version’ for xml transfom.-Please help [message #336117] Fri, 22 May 2009 06:04 Go to next message
govind Ra is currently offline govind RaFriend
Messages: 95
Registered: July 2009
Member
Recently i upgraded java version from 1.5 to 1.6.
I Use eclispe 3.4.

I use Xml transformer to read the contents of the file.

Now when i run my rcp – product it give error when

Source source = new DOMSource(MyDocument);
StreamResult result = new StreamResult(newStringWriter());
Transformer xformer = TransformerFactory.newInstance().newTransformer();
xformer.transform(source, result);
String xmlString = result.getWriter().toString();

Its gives me

ERROR: ‘Not implmented in this version’
javax.xml.transform.TransformerException: org.w3c.dom.DOMException: Not
implmented in this version at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .transform(TransformerImpl.java:717)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .transform(TransformerImpl.java:313)

Please help..

I use javax.xml_1.3.4.v200806030440.jar of eclipse.
Is there way where i can i ask to run with this rather than jre.

Regards
Govind R
Re: ERROR: �Not implmented in this version� for xml transfom.-Please help [message #336124 is a reply to message #336117] Fri, 22 May 2009 23:10 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
Generally speaking, to override the default Java implementation of
various APIs, you should use the java.endorsed.dirs property.

http://java.sun.com/j2se/1.4.2/docs/guide/standards/

Hope that helps,
Ben

govind wrote:
> Recently i upgraded java version from 1.5 to 1.6.
> I Use eclispe 3.4.
>
> I use Xml transformer to read the contents of the file.
>
> Now when i run my rcp � product it give error when
>
> Source source = new DOMSource(MyDocument);
> StreamResult result = new StreamResult(newStringWriter());
> Transformer xformer = TransformerFactory.newInstance().newTransformer();
> xformer.transform(source, result);
> String xmlString = result.getWriter().toString();
>
> Its gives me
>
> ERROR: �Not implmented in this version�
> javax.xml.transform.TransformerException: org.w3c.dom.DOMException: Not
> implmented in this version at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .transform(TransformerImpl.java:717)
>
> at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .transform(TransformerImpl.java:313)
>
>
> Please help..
>
> I use javax.xml_1.3.4.v200806030440.jar of eclipse.
> Is there way where i can i ask to run with this rather than jre.
>
> Regards
> Govind R
>
Re: ERROR: �Not implmented in this version� for xml transfom.-Please help [message #336140 is a reply to message #336124] Tue, 26 May 2009 14:02 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4501
Registered: July 2009
Senior Member

govind wrote:
>> I use javax.xml_1.3.4.v200806030440.jar of eclipse.
>> Is there way where i can i ask to run with this rather than jre.

You want different bundles from the Orbit project, most likely the
org.apache.xerces and org.apache.xalan bundles. The javax.xml
bundle contains mostly API code without implementation, so that you
have your DOM interfaces present.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:[CommonNavigator] setting up initial input accross many providers
Next Topic:Toolbar contributions
Goto Forum:
  


Current Time: Sat Nov 09 05:15:29 GMT 2024

Powered by FUDForum. Page generated in 0.02582 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top