Re: HTML 5 and Tidy

Ger Hobbelt <[email protected]> Mon, 18 Oct 2010 01:07:38 +0200
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
--===============6360921644126570666==
Content-Type: multipart/alternative; boundary=000325574d0a3cda7c0492d8200a

--000325574d0a3cda7c0492d8200a
Content-Type: text/plain; charset=ISO-8859-1

On a similar vain I had a need for a tidy which 'knows about' the
SVG-related HTML5 tag (<canvas>) and a few other odds and ends of #5 and
coded that into tidy. That was somewhere at the start of this year, then
'real life' took over in a somewhat unexpected way and my promise to post
the changes for review became a rather empty one. :-((

I guess this is a good incentive to at least get that bit of the show on the
road again and take it from there towards a more complete HTML5 validation
rig. Time to dust off my diffing tools and extract a sort-of-progressive set
of diffs for the various changes I made to my own tidy copy.



On Mon, Oct 18, 2010 at 12:07 AM, Marc Gueury <[email protected]> wrote:

>  Hi all,
>
> I know the question will look strange and simple for people deeply
> involved in HTML 5. Unlike me.
>
> But here is my problem, Firefox 4 is going out with a lot of changes and
> I have to release
> a new Firefox version of the extension: Html Validator with a lot of
> changes.
>
> So, because HTML 5 is going out of the wood, I try to read about it.
> I would like to be able to check HTML 5 locally too in the browser.
>
> So,
> * OpenSP and SGML are not able to parse HTML 5 anymore.
> * The official Validator.nu is hugely complex about 300Mb and impossible
> to ship with a Firefox extension.
> * HTML Tidy does not evolve a lot these days and does not support HTML 5
> at all
>
> It is a pity, since I am quite convinced that Html Tidy could be easily
> modified to
> lead to a simple HTML5 "checker" and "cleaner"  (probably not a perfect
> one but who cares...)
>
> I begin to think that I will have to say goodbye to offline HTML 5
> validation on local machine ?
>
> The only way will be to validate a HTML page will be to send the HTML
> page to an external website.
> HTML tidy cleaner will also  disappear....
>
> It seems a step back to prehistoric times :-)
> I wonder if one of you has some thought about this ?
>
> Thanks,
>
> Marc
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Tidy-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tidy-develop
>



-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

--000325574d0a3cda7c0492d8200a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On a similar vain I had a need for a tidy which &#39;knows about&#39; the S=
VG-related HTML5 tag (&lt;canvas&gt;) and a few other odds and ends of #5 a=
nd coded that into tidy. That was somewhere at the start of this year, then=
 &#39;real life&#39; took over in a somewhat unexpected way and my promise =
to post the changes for review became a rather empty one. :-((<br>
<br>I guess this is a good incentive to at least get that bit of the show o=
n the road again and take it from there towards a more complete HTML5 valid=
ation rig. Time to dust off my diffing tools and extract a sort-of-progress=
ive set of diffs for the various changes I made to my own tidy copy.<br>
<br><br><br><div class=3D"gmail_quote">On Mon, Oct 18, 2010 at 12:07 AM, Ma=
rc Gueury <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">mgueur=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); =
padding-left: 1ex;">
 =A0Hi all,<br>
<br>
I know the question will look strange and simple for people deeply<br>
involved in HTML 5. Unlike me.<br>
<br>
But here is my problem, Firefox 4 is going out with a lot of changes and<br=
>
I have to release<br>
a new Firefox version of the extension: Html Validator with a lot of<br>
changes.<br>
<br>
So, because HTML 5 is going out of the wood, I try to read about it.<br>
I would like to be able to check HTML 5 locally too in the browser.<br>
<br>
So,<br>
* OpenSP and SGML are not able to parse HTML 5 anymore.<br>
* The official Validator.nu is hugely complex about 300Mb and impossible<br=
>
to ship with a Firefox extension.<br>
* HTML Tidy does not evolve a lot these days and does not support HTML 5<br=
>
at all<br>
<br>
It is a pity, since I am quite convinced that Html Tidy could be easily<br>
modified to<br>
lead to a simple HTML5 &quot;checker&quot; and &quot;cleaner&quot; =A0(prob=
ably not a perfect<br>
one but who cares...)<br>
<br>
I begin to think that I will have to say goodbye to offline HTML 5<br>
validation on local machine ?<br>
<br>
The only way will be to validate a HTML page will be to send the HTML<br>
page to an external website.<br>
HTML tidy cleaner will also =A0disappear....<br>
<br>
It seems a step back to prehistoric times :-)<br>
I wonder if one of you has some thought about this ?<br>
<br>
Thanks,<br>
<br>
Marc<br>
<br>
<br>
<br>
<br>
<br>
---------------------------------------------------------------------------=
---<br>
Download new Adobe(R) Flash(R) Builder(TM) 4<br>
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly<br>
Flex(R) Builder(TM)) enable the development of rich applications that run<b=
r>
across multiple browsers and platforms. Download your free trials today!<br=
>
<a href=3D"http://p.sf.net/sfu/adobe-dev2dev" target=3D"_blank">http://p.sf=
.net/sfu/adobe-dev2dev</a><br>
_______________________________________________<br>
Tidy-develop mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
urceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/tidy-develop" targe=
t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/tidy-develop</a><=
br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Met vriendelijke groete=
n / Best regards,<br><br>Ger Hobbelt<br><br>-------------------------------=
-------------------<br>web:=A0 =A0 <a href=3D"http://www.hobbelt.com/">http=
://www.hobbelt.com/</a><br>
=A0 =A0 =A0 =A0 <a href=3D"http://www.hebbut.net/">http://www.hebbut.net/</=
a><br>mail:=A0=A0 <a href=3D"mailto:[email protected]">[email protected]</a><br=
>mobile: +31-6-11 120 978<br>----------------------------------------------=
----<br><br>


--000325574d0a3cda7c0492d8200a--


--===============6360921644126570666==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
--===============6360921644126570666==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tidy-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tidy-develop

--===============6360921644126570666==--