Invalid xml encoding name
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Invalid xml encoding name Expand / Collapse
Author
Message
Post #24059 Posted 5/8/2009 6:14:02 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 8/4/2009 4:04:48 AM
GenoPro Version: 2.0.1.5
Posts: 25, Visits: 70
The XML output, produced by COM GetTextXML() call, contains invalid from my point encoding name in XML header:
<?xml version='1.0' encoding='unicode'?>

Some parsers cannot recognize this encoding (it should be either UTF-8 or UTF-16, see here for complete list of character sets).
File->Export->XML produces the correct XML:
<?xml version='1.0' encoding='UTF-8'?>


Actually GetTextXML() generates the data in windows-1251 (my local charset), and all umlauts are gone (e.g. "Kohl" instead of "Köhl"). Also it generates strange end-of-lines, which is a mixture of DOS and UNIX style: \x0D\x0D\x0A
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:40 PM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.