Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Generating a new transformer


This topic is 7623 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

When switching to jre 1.4.2 I have a problem to generate a new transformer using:

TransformerFactory transformerFactory =

javax.xml.transform.TransformerFactory.newInstance();

Source xsl = new StreamSource(...);

transformerFactory.newTransformer(xsl);

The exception thrown is ConfigurationTransformerExcpetion: A location step was expected following the '/' or '//' token.

This exception does not occur in earlier JDKs and in any case it occurs only for part of my XSL files.

Is there a change in the XSL format that causes this exception?

This topic is 7623 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.