ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: Re: XML::Parser & "invalid character"
by Jenda Krynicky other posts by this author
Mar 29 2002 10:27PM messages near this date
view in the new Beta List Site
Re: Re: XML::Parser & "invalid character" | Re: XML::Parser & "invalid character"
From:           	Duncan Cameron <dcameron@[...].uk> 
>  >It's not nice, but it gets the job done.
>  >
>  You're right, it's not nice and you might find further problems
>  downstream. You appear to be building in too much 'magic'. Bear in
>  mind that &#x02; is not  a valid XML character reference.  Every time
>  that you or someone else processes the parsed data you have to then
>  expand these pseudo character entities.
>  
>  If your database data can contain 'binary' values then you might
>  consider encoding all fields as base64, or at least only those fields
>  which may contain binary data. base64 encoding increases the size of
>  your data by 1/3 but otherwise is a clean way to do it.

Oops. Should have thought about that myself. I think quoted-
printable is better in my case (I'd like to keep the stuff readable and 
there are not many of those characters.)

No the only problem left ... the XML generation is in VisualBasic ... 
but that's a question for another forum :-)

Thanks a lot, Jenda

=========== Jenda@[...].cz == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
					--- me
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Duncan Cameron
Jenda Krynicky

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved