Solved

Error when transforming XML using XSL

Posted on 2001-08-29
5
351 Views
Last Modified: 2008-03-04
Hello,

I'm getting the following error when tranforming XML. I do have several import calls in the XSL file. Import allows you to call one XSL, while the XSL may call several all XSL. I verified that there's no special chars. Any ideas?

thank you,
Stephen

Exception thrown on line '13' from page 'D:\\schen\\src\\XSLT\\transform.jsp'.
javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa0" (line number may be too low).
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:684)
0
Comment
Question by:schen8081
5 Comments
 
LVL 2

Expert Comment

by:ia_ia_ia_1
ID: 6439575
Gonna paste the xml and the xsls?
0
 

Author Comment

by:schen8081
ID: 6441527
XSL looks like this.. each of the import files have more import statements in there

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:import href="c:\\Test\\TrialB\\Head-01-20010804.xsl"/>
  <xsl:import href="c:\\Test\\TrialB\\Body-01-20010804.xsl"/>
  <xsl:template match="Page">
    <HTML>
      <xsl:call-template name="Head"/>
      <xsl:call-template name="Body"/>
    </HTML>
  </xsl:template>
</xsl:stylesheet>
0
 
LVL 2

Expert Comment

by:ia_ia_ia_1
ID: 6441602
Are u sure that u import successfully the xsls? Cause my IBM XSL Editor is unable to do so...

What about:
<xsl:import href="file:///c:/Test/TrialB/Head-01-20010804.xsl"/>
 <xsl:import href="file:///c:/Test/TrialB/Body-01-20010804.xsl"/>
 
0
 
LVL 5

Expert Comment

by:vemul
ID: 7755787
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- To be PAQ'ed and points NOT refunded

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7846914
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
allStar challenge 1 43
mapAB Challlenge 35 89
HashMap Vs TreeMap 12 49
Starting to learn JAVA, 7 48
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now