Re: List of pages to fix for HTML parsing errors

Israel Saeta Pérez <[email protected]>
Newsgroups gmane.comp.web.zope.plone.documentation,gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
I've fixed a bunch of them related to documentation and striked them out in
the spreadsheet. As you've said, most of them come from stx documents, where
spurious <p> elements are inserted, even inside literal blocks. There are
also some problems with URL encoding (with composite query strings) and
entities encoding (&amp; &lt; &gt;).

By the way, do we really need such a strict parsing that makes the page
rendering blow up whenever the XHTML is not perfect? Can't the libxml2
parser be 'patched' to accept valid enough XHTML?

-- israel


On Sun, May 17, 2009 at 1:35 AM, Laurence Rowe <[email protected]> wrote:

> And for those thinking surely this should be fixed in code.... Most of
> the errors come from stx documents,  zope.structuredtext may be found
> here: http://svn.zope.org/repos/main/zope.structuredtext/trunk/
>
> - html.py should be made to produce valid (x)html, this requires
>
>  i) extending the paragraph_nestable concept to observe all html
> nesting rules - see http://www.cs.tut.fi/~jkorpela/html/nesting.html<http://www.cs.tut.fi/%7Ejkorpela/html/nesting.html>
>
>  ii) html quoting in the _text method.
>
> reST rendering should also be fixed and probably requires a similar
> approach.
>
> Laurence
>
> 2009/5/17 Laurence Rowe <[email protected]>:
> > Hi,
> >
> > Since we now use an xdv theme on plone.org, we have some problems with
> > the libxml2 HTMLParser not handling some invalid html. Our custom
> > error page logs each view of a failed page to google analytics, and
> > I've updated the error page to now show the parse error.
> >
> > Here's a spreadsheet with all the pages, if you own any of them please
> > do fix them up. Once fixed, please remove the line so that we don't
> > duplicate effort!
> >
> > http://spreadsheets.google.com/ccc?key=rXvGZblMmdeYwuhp_AOzBYw
> >
> > Note: to click a link click into the link's cell then click the button
> > that appears to the left.
> >
> > Laurence
> >
> > (436 pages showing an error at time of writing)
> >
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Plone-docs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-docs
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
Plone-docs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-docs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.