|
On Dec 16, 2015, at 8:54 AM, Bradley Stone <bvstone@xxxxxxxxx> wrote:
Sounds good, Aaron.
Thanks for clarifying. That makes a whole lot more sense. I'm sure
Richard and I aren't the only ones would assumed an XML package would
escape data. RTFM I guess. :)
I only mentioned JSON because the YAJL package does do all necessary
escaping so I guess I got spoiled using that.. haha!
Brad
www.bvstools.com
On Wed, Dec 16, 2015 at 7:34 AM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:
--Escape the data yourself or use CDATA.
Yes, that's correct.
I think I like JSON better.
JSON has 8+ things needing to be escaped, though some of them are less
common than an ampersand.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Tue, Dec 15, 2015 at 10:26 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:
Ah.. I may have found my answer... I asked this a few emails ago but gotno
reply. Escape the data yourself or use CDATA. :)which
Interensting.. I think I like JSON better. :)
-------------------------------------------------------
{ // The URL class does not itself encode or decode any URL components
according to the escaping mechanism defined in RFC2396.
// It is the responsibility of the caller to encode any fields,
need to be escaped prior to calling URL,URL.
// and also to decode any escaped fields, that are returned from
Furthermore, because URL has no knowledge of URL escaping,--
// it does not recognise equivalence between the encoded or decoded
form of the same URL
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.