What steps will reproduce the problem?
1. Try parsing RDF/XML with a parseType="Literal" and no nested elements
2. literal label in IE is okay, in FF is "undefined", in WebKit is ""
Solution:
on line 734 of jquery.rdf.js replace:
o = serializer.serializeToString(p.getElementsByTagName('*')[0]);
with:
var xml = serializer.serializeToString(p);
o = xml.substring(xml.indexOf('>')+1, xml.lastIndexOf('<'))
What version of the product are you using? On what operating system?
Any non-IE browser
Original issue reported on code.google.com by james-no...@leighnet.ca on 13 Oct 2009 at 3:34
Original issue reported on code.google.com by
james-no...@leighnet.ca
on 13 Oct 2009 at 3:34