[FX.php List] Illegal characters in FMPro's XML

Michael Layne fx at 9degrees.com
Wed Jan 19 09:55:23 MST 2005


Thanks for the explanation/information.  You know plenty more than I do 
about XML.  That may have been one of my problems way back.

Very good to know.


On Jan 19, 2005, at 8:45 AM, Brion Vibber wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael Layne wrote:
>> Another possibility (I've seen a similar error many times) is that
>> FX.php is set to use cURL (= true).  , when your version of PHP 
>> doesn't
>> support it. If you switch to false, that error goes away.  look for
>> this around line 486 or 436 (from memory...) you can set at line 99 in
>> the latest version of the class.
>
> Well, in my case there really is a bad character -- I can load the XML 
> request straight into Mozilla and get the same XML parsing error, and 
> I can cut-and-paste the character it from the field in FileMaker into 
> a text editor, save it to a file, and hex dump it.
>
> The bad character is an 0x15; I'm not really sure how it got there 
> originally, but it seems to be somehow garbled from what should have 
> been a greater-than-or-equal-to sign. Replacing it with the correct 
> character works around the problem as well, until the day when another 
> record gets slipped a bogus control character and FileMaker sends 
> unparseable XML down the wire again...
>
> (A side note: the current version of FX.php doesn't die() on an XML 
> parse error, but actually stops parsing and returns an error object. 
> Script execution continues, but I've still got no data to work with 
> unless I remove the bad character.)
>
> - -- brion vibber (brion @ pobox.com)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (Darwin)
>
> iD8DBQFB7mSLwRnhpk1wk44RAkdPAKCgWjp+J9qlqZZ1cQ2zuAKBlndyPACfQJWe
> uKhI+/ycJ7Sdx34ZxzVmJRg=
> =y3nj
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>

Michael Layne  :  9 degrees development  :  www.9degrees.com  :  
404.226.7835
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2071 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20050119/c8789314/attachment.bin


More information about the FX.php_List mailing list