semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

RDFa parsing fails if no trailing \n #2

Open moustaki opened 13 years ago

moustaki commented 13 years ago

We just spotted an issue with the RDFa parser in ARC. It looks like it is prone to forget some triples if the document does not end with a \n.

The following gist shows the issue: https://gist.github.com/725644 - this gives 5 triples. However, 10 are embedded in the HTML document. Adding a \n at the end of that document gives 10 triples.

This behavior has been tested with the latest version of ARC.

Nasreddine commented 13 years ago

Hi, Have you fixed this issue ?