Decode problem in Firefox v30 and IE10
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
I use x2js.xml2json( javascript text string of attached file )
What is the expected output? What do you see instead?
Works as expected in Chrome, fails in Firefox v30 and IE10
I get object.observations.links (in Chrome)
I get object with no attributes (in IE and Firefox)
What version of the product are you using? On what operating system and
browser version?
v1.1.5
This is the only thing I've found this piece of software not able to decode
which says a lot! Great work!
Original issue reported on code.google.com by eflowbe...@gmail.com
on 19 Jun 2014 at 2:25
Attachments:
Google Code Exporter commented
Thanks for your report.
Investigating.
Original comment by abdulla....@gmail.com
on 19 Jun 2014 at 7:40
- Changed state: Accepted
Google Code Exporter commented
Hmmm.. I've just downloaded your file and see the incorrect ending in the XML
content:
...
<gst:link rel="http://moped.gst.com/rels/instrumentation"
type="application/vnd.com.gst.moped.v1+xml" href="https://moped.gst.com/metadata
Could you send me a valid XML file, please?
Original comment by abdulla....@gmail.com
on 19 Jun 2014 at 7:45
Google Code Exporter commented
It must have truncated or been updating when I attached it. Try this one.
Original comment by eflowbe...@gmail.com
on 19 Jun 2014 at 7:48
Attachments:
Google Code Exporter commented
Ok. Now it's valid, thanks.
But I put it into https://x2js.googlecode.com/hg/demo.html and see no
difference in FF for now.
I'll check it more thoroughly tomorrow.
Original comment by abdulla....@gmail.com
on 19 Jun 2014 at 7:58
Google Code Exporter commented
I think you can close this. It apparently is on my end. I must be doing
something wrong with the file perhaps response headers from an ajax call or
something. I tried a very simple version of my code and it worked.
Original comment by eflowbe...@gmail.com
on 19 Jun 2014 at 8:35
Google Code Exporter commented
Well, ok :)
Tell me if you need any additional assistance.
Original comment by abdulla....@gmail.com
on 19 Jun 2014 at 9:49
- Changed state: Invalid
Google Code Exporter commented
Just giving you an update. It turns out the xml parser that I was using from
the Qooxdoo library for the Xhr request was failing to parse the file in
Firefox and IE.
Original comment by eflowbe...@gmail.com
on 23 Jun 2014 at 1:31
Google Code Exporter commented
Hm, is it well-formed XML? Looks like there are some problems with structure.
Original comment by abdulla....@gmail.com
on 23 Jun 2014 at 2:42