[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: supress errors?

Subject: Re: supress errors?
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Thu, 19 Jan 2006 10:01:42 -0600
php supress errors
On 1/19/06, dan@xxxxxxxxxxxxx <dan@xxxxxxxxxxxxx> wrote:
> For my application, people have to upload an XML file (their iTunes Music
> Library). After it uploads, I run a transformation on it in PHP5. Many
> transformations are not working and showing errors because of weird
> characters in the source XML. The source and result XML are set to UTF-8.
> Is there a way to skip over a troubled node? I can't imagine that XLST
> doesn't have a way to deal with this.
>

The last time I checked Unicode support in PHP is pretty poor.  Are
you sure the XML/XSLT libraries in PHP can actually handle the Unicode
characters?  Last time I dealt with them (it was a while ago) I had to
normalize text before it went into the XML parser in PHP.  At the time
I looked into using a wrapper around some Java programs but in the end
it was more reliable to filter out the few Unicode characters that did
appear in our input.

Jon Gorman

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.