Issue96

Title Replace RDFa parser in MozCC with something more modern
Priority bug Status wont-fix
Project MozCC Milestone
Superseder Nosy List nyergler, paulproteus
Assigned To Keywords

Created on 2008-12-09.00:11:02 by paulproteus, last changed 2010-07-19.18:51:53 by nyergler.

Messages
msg1873 (view) Author: nyergler Date: 2010-07-19.18:51:53
Marking wont-fix; MozCC++ is under development in GSoC.
msg260 (view) Author: paulproteus Date: 2009-02-03.01:12:32
Ben writes:

Yes, here is mine :

http://www.w3.org/2006/07/SWD/RDFa/impl/js
http://www.w3.org/2006/07/SWD/RDFa/impl/js/rdfa.js

Not my best code because I had to inline a bunch of stuff from the
Tabulator project, but I think it's still the right starting point.

-Ben
msg256 (view) Author: paulproteus Date: 2009-02-03.00:00:12
There is also http://code.google.com/p/ubiquity-rdfa/ !

And Ben's RDFa parser.
msg239 (view) Author: paulproteus Date: 2009-01-25.22:31:44
The right thing to do is to investigate an alternate RDFa parser.
msg140 (view) Author: paulproteus Date: 2008-12-16.18:52:59
Other issue: rel=prefetch probably isn't RDFa
msg139 (view) Author: paulproteus Date: 2008-12-12.19:43:02
We should see if we can find a better RDFa implementation in the long-ish run.
msg138 (view) Author: paulproteus Date: 2008-12-09.00:22:40
Further problem: 

   var xml_ns_regex = /xmlns:([\S]+)="([\S]+)"/ig;

This doesn't handle 'whatever', only "whatever".

Should probably grow up and use XPath!
msg137 (view) Author: paulproteus Date: 2008-12-09.00:11:02
From a comment in the source:

if a document redefines a namespace prefix for a subsection of the document, the
last declaration probably wins for the entire document

That's somewhat sad.
History
Date User Action Args
2010-07-19 18:51:53nyerglersetstatus: chatting -> wont-fix
nosy: + nyergler
messages: + msg1873
2009-02-03 01:12:32paulproteussetmessages: + msg260
2009-02-03 00:00:12paulproteussetmessages: + msg256
2009-01-25 22:31:44paulproteussetmessages: + msg239
title: Namespace handling -> Replace RDFa parser in MozCC with something more modern
2008-12-16 18:52:59paulproteussetmessages: + msg140
2008-12-12 19:43:02paulproteussetmessages: + msg139
2008-12-09 00:22:40paulproteussetstatus: unread -> chatting
messages: + msg138
2008-12-09 00:11:02paulproteuscreate