Open GoogleCodeExporter opened 9 years ago
This is fixed by the change below, but this also breaks a couple of the RDFa
tests so
may not be the best solution.
--- jquery.rdfa.js (revision 185)
+++ jquery.rdfa.js (working copy)
@@ -238,7 +238,7 @@
} else if (atts['typeof'] !== undefined) {
subject = $.rdf.blank('[]');
} else if (elem[0].parentNode.nodeType === 1) {
- subject = context.object || getObjectResource(elem.parent()) ||
getSubject(elem.parent()).subject;
+ subject = context.object || getSubject(elem.parent()).subject ||
getObjectResource(elem.parent());
skip = !r && atts.property === undefined;
} else {
subject = docResource;
Original comment by eaton....@gmail.com
on 1 Mar 2010 at 5:22
Original issue reported on code.google.com by
eaton....@gmail.com
on 1 Mar 2010 at 12:47