Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in handling special characters in XML using FOP

 
venki janapati
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am getting some special characters into DOM while creating bcos the data is having special chars in database. when i render PDF using FOP it gives following error:
FOPException an invalid character in XML .
can some one suggest what i can do

Thanks for help in advance
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set any encoding in ?xm? header? You can also try HTML encode for special charcters in form &#nnn;.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic