Implement validating HTML parser using SP

RESOLVED WONTFIX

Status

()

P3
enhancement
RESOLVED WONTFIX
19 years ago
13 years ago

People

(Reporter: hjtoi-bugzilla, Unassigned)

Tracking

Trunk
Future
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

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.

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → REMIND

Comment 1

19 years ago
Nice to have, but absolutely non-essential for 6.0.

Comment 2

19 years ago
reopening and marking Future...
Status: RESOLVED → REOPENED
Resolution: REMIND → ---
Target Milestone: --- → Future

Comment 3

18 years ago
updated qa contact.
QA Contact: janc → bsharma

Comment 4

18 years ago
Possible applications for this include an iCab-style validness indicator, or
outright error indications for invalid content, perhaps as a user-selectable
preference.
Reassigning to nobody.
Assignee: rickg → nobody
Status: REOPENED → NEW

Updated

18 years ago
QA Contact: bsharma → moied

Comment 7

17 years ago
Should this bug be a dependency for some of the bugs relating to user feedback
on invalid pages (bug 6211, for example)?
Blocks: 6211
Blocks: 47108

Comment 8

17 years ago
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.

Comment 9

16 years ago
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
Last Resolved: 19 years ago15 years ago
Resolution: --- → WONTFIX

Comment 11

13 years ago
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 1.5.0.3 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.