Closed Bug 40945 Opened 22 years ago Closed 18 years ago
Implement validating HTML parser using SP
Because it has been possible to integrate Expat into Mozilla, it shouldn't be impossible to integrate SP, the validating SGML parser from James Clark, either. SP is used in many HTML validators available on the web already. I do not know who would have the drive to implement this. Perhaps some HTML editor folks? Or it might interest the academic... A test project for advanced students learning programming with help of Mozilla, for example. I see this as no big requirement. It would just be nice to have an HTML validator right in your browser, occasionally. This could also be expanded to include support for any SGML documents (like what DocZilla does, although DocZilla has a closed-source parser). That would require quite a bit more work, however.
Nice to have, but absolutely non-essential for 6.0.
reopening and marking Future...
Status: RESOLVED → REOPENED
Resolution: REMIND → ---
Target Milestone: --- → Future
updated qa contact.
QA Contact: janc → bsharma
Possible applications for this include an iCab-style validness indicator, or outright error indications for invalid content, perhaps as a user-selectable preference.
For reference: http://www.jclark.com/sp/index.htm
Reassigning to nobody.
Assignee: rickg → nobody
Status: REOPENED → NEW
Should this bug be a dependency for some of the bugs relating to user feedback on invalid pages (bug 6211, for example)?
how difficult would this be to do? i can't program myself, but if it wouldn't be that hard i'm sure someone would be able to. this is blocking some pretty IMO important bugs.
We might be able to use some of the basic code of the W3C's validator and port it to C. It uses the SP parser.
WONTFIX. This would be nice to have in an extension, but realistically, Mozilla builds will probably never ship with this feature, even if someone provided a patch to do it.
Status: NEW → RESOLVED
Closed: 22 years ago → 18 years ago
Resolution: --- → WONTFIX
I've been using HTML validator extension from M. Gueury at http://users.skynet.be/mgueury/mozilla/ The Windows users can download and install version 0.8.3 http://users.skynet.be/mgueury/mozilla/preview_080.html which is a true validator, a SGML validator (based on OpenSP). I've been using it for the last 3 days with Firefox 188.8.131.52 and it works basically - almost exactly - the same as the W3C validator but without having to submit the page to the W3C HTML valdiator. It's great and I've had no problem whatsoever with it and while using it. I did not notice any significant slowing down in the rendering of page and I'm using a Pentium 3, 667Mhz cpu, 384MB of RAM. The extension is 1,849 KB in size. M. Gueury's extension is more powerful, more reliable, more useful and more versatile than anything I've seen so far: it works off-line (and that is a big advantage), it can alternatively use HTML Tidy (same code as Tidy from W3C), it can report accessibility errors, warnings, accessibility issues to check manually.
You need to log in before you can comment on or make changes to this bug.