AnantLabs / rdfquery

Automatically exported from code.google.com/p/rdfquery
0 stars 0 forks source link

RDFa Parser Can't Parse HTML Tables #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an HTML page with RDFa around an HTML table
2. Notice that IE throws an error on getAttribute("xml:lang") for tables
3. Notice that the subject is reset when passing tbody and thead

Solution:
Put a try/catch around getAttribute("xml:lang") on line 3837.
Use the regex /^head$|^body$/i.test(elem[0].nodeName) on line 3815 to avoid
matching thead and tbody tags.

What version of the product are you using? On what operating system?
1.0 on IE8

Please provide any additional information below.

Original issue reported on code.google.com by james-no...@leighnet.ca on 9 Sep 2009 at 7:42

GoogleCodeExporter commented 9 years ago
Thanks for this bug report. Fixed in latest in trunk. I'm just working on some 
AJAR support and when that's done 
I'll do another release. You should be able to construct your own release from 
the trunk code if you want.

Original comment by jeni.ten...@gmail.com on 10 Sep 2009 at 6:48