Parsing issue XML/JSON input RESOLVED
Parsing issue XML/JSON input RESOLVED
The original problem was due to receiving a file with LF only after each entry rather than CRLF, and MEMO functions were not working properly. This part of the problem was resolved. However, a new post discusses the need for more info for using the XML capabilities of FWH / Harbour ( or xHarbour )
Last edited by TimStone on Sun Jul 16, 2017 5:49 pm, edited 3 times in total.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- gkuhnert
- Posts: 274
- Joined: Fri Apr 04, 2008 1:25 pm
- Location: Aachen - Germany // Kerkrade - Netherlands
- Contact:
Re: Parsing issue XML/JSON input
Tim,
are you sure, that each line ends with CRLF (or CHR(10)+CHR(13))? Maybe it just ends with one of these symbols and you could replace each CHR(10) or CHR(13) with a CRLF first?
are you sure, that each line ends with CRLF (or CHR(10)+CHR(13))? Maybe it just ends with one of these symbols and you could replace each CHR(10) or CHR(13) with a CRLF first?
Re: Parsing issue XML/JSON input
Looking at the file, it only has CHR(10) - line feed ...
I'm trying to work with the XML functions now to see if that will work out.
Tim
I'm trying to work with the XML functions now to see if that will work out.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- gkuhnert
- Posts: 274
- Joined: Fri Apr 04, 2008 1:25 pm
- Location: Aachen - Germany // Kerkrade - Netherlands
- Contact:
Re: Parsing issue XML/JSON input
then maybe this might work:
cRet := strtran(cRet, CHR(10), CRLF)
cRet := strtran(cRet, CHR(10), CRLF)
Re: Parsing issue XML/JSON input RESOLVED
That resolves the problem. Thank you.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019