[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

emacspeak-websearch-dispatch and html parser errors



I suspect my problem may be related to xsltproc.
With emacspeak rev 5706 I run something like
w3-fetch http://www.theage.com.au
and the first few lines look like:
View in Mobile | Classic
The Age - Business News, World News & Breaking News in Australia Skip
directly
.....
Then I use "eo" to toggle xsl then "es" to select a transformation ... the
default in fact.
Then "r" to redraw the page.  This generates
-:7: HTML parser error : htmlParseEntityRef: no name The Age - Business News,
World News & ^ -:302: namespace warning : Namespace prefix ffx is not
defined
and lots of similar things.  I can return to normality by toggling xsl
again and reloading the page.  These are the same kinds of errors I
was seeing with the websearch-dispatch where I notice the results are
often filtered through an xsl transformation. 
xsltproc --version
yields:
Using libxml 20632, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20632, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20632
libexslt 813 was compiled against libxml 20632

I suspect this doesn't shed much light on the problem yet ...
regards
Peter
> 




T. V. Raman writes:
>I'm unable to reproduce the error.
>
>If you update to the latest url lib from emacs/cvs  then yes,
>you'll have to upgrade all of emacs from cvs.
>
>Nothing on the emacspeak websearch side has changed with respect
>to the error you're seeing in parsing the result page, 
>one way to work around bad HTML  is to do one or all of the
>following:
>
>0) Activate xslt and set the style to default.xsl -- that's a
>no-op stylesheet for all practical purposes that has the
>side-effect of producing well-formed html.
>
>1) Turn on html tidy -- see emacspeak option
>emacspeak-w3-tidy-html
>
>
>
>>>>>> "Peter" == Peter Rayner <peter.rayner@xxxxxxxxxxx> writes:
>    Peter> I've just updated to the latest svn of emacspeak.  It
>    Peter> looks as though something has changed in
>    Peter> emacspeak-websearch-dispatch.  Here is the result of
>    Peter> ctl-e ? g portaudio mailing list
>    Peter> ----------------------------------------------------------------------
>    Peter> 
>    Peter> 
>    Peter> -:12: HTML parser error : Unexpected end tag : form ">
>    Peter> Web Search ^ -:13: HTML parser error : Tag nobr
>    Peter> invalid ation. ...  www.portaudio.com/ - 5k -
>    Peter> techweb.rfa.org/mailman/listinfo/portaudio - 7k -
>    Peter> www.portaudio.com/docs/v19-doxydocs/ - 4k - >
>    Peter> Portaudio@xxxxxxxxxxx > http://techweb.rfa....
>    Peter> techweb.rfa.org/pipermail/portaudio/2001-May/000015.html
>    Peter> - 5k - ...
>    Peter> www.wireshark.org/lists/lists/wireshark-users/200708/msg00144.html
>    Peter> - 11k - @techweb.rfa.org ...
>    Peter> techweb.rfa.org/pipermail/portaudio/2005-September/004770.html
>    Peter> - 7k -
>    Peter> www.nabble.com/static-linking,-mingw32-td15829675.html
>    Peter> - 61k - ...
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2004-10/msg00011.html
>    Peter> - 21k - ...
>    Peter> techweb.rfa.org/pipermail/portaudio/2003-December/002926.html
>    Peter> - 10k - www.portaudio.com/trac/ticket/31 - 11k -
>    Peter> @techweb.rfa.org ...
>    Peter> techweb.rfa.org/pipermail/portaudio/2005-November/004942.html
>    Peter> - 6k - > Portaudio@xxxxxxxxxxx >
>    Peter> http://techweb.rfa....
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2007-03/msg00070.html
>    Peter> - 20k - ...
>    Peter> techweb.rfa.org/pipermail/portaudio/2006-February/005096.html
>    Peter> - 11k - Portaudio mailing list
>    Peter> Portaudio@xxxxxxxxxxx http://techweb....
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2007-12/msg00002.html
>    Peter> - 17k - @. ...
>    Peter> www.nabble.com/-application---Vista-problems-in-V19-td14095499.html
>    Peter> - 35k - ...
>    Peter> lists.apple.com/archives/coreaudio-api/2002/May/msg00100.html
>    Peter> - 24k - @. ...
>    Peter> www.nabble.com/Compilation-problem-under-OS-X-(v-19)-td15248289.html
>    Peter> - 46k - ...
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2007-03/msg00075.html
>    Peter> - 20k - ...
>    Peter> techweb.rfa.org/pipermail/portaudio/2006-February/005104.html
>    Peter> - 14k - Portaudio mailing list
>    Peter> Portaudio@xxxxxxxxxxx http://techweb.rfa....
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2005-12/msg00056.html
>    Peter> - 18k - www.nabble.com/xCode-td354325.html - 147k -
>    Peter> ...
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2007-04/msg00127.html
>    Peter> - 25k - www.nabble.com/Portaudio---Dev-f521.html - 76k
>    Peter> - ...
>    Peter> osdir.com/ml/audio.portaudio.devel/portaudio.devel/2005-12/msg00063.html
>    Peter> - 18k - PortAudio for ...
>    Peter> www.audiomulch.com/~rossb/writings/portaudio_icmc2001.pdf
>    Peter> Search within results | | Search Tips |
>    Peter> ----------------------------------------------------------------------
>    Peter> This is with emacs-22.1 and the latest w3 from cvs
>    Peter> (not updated recently I don't think).  I tried
>    Peter> updating to the latest url from cvs as well but that
>    Peter> broke when loading emacspeak, it appears that
>    Peter> "declare-function" isn't defined.  I'm guessing this
>    Peter> is an emacspeak-23 vs 22 problem but haven't got to
>    Peter> the bottom of that.
>    Peter> 
>    Peter> Very likely I have something out of synch with various
>    Peter> updates but I can't quite see what.  Thanks for any
>    Peter> help Peter
>    Peter> 
>    Peter> 
>    Peter> -- Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
>    Peter> address: Bat. 701 LSCE - CEA de Saclay Orme des
>    Peter> Merisiers, 91191 Gif/Yvette work: +33 (1) 69 08 88 11;
>    Peter> mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16
>    Peter> mail-to: peter.rayner@xxxxxxxxxxx web:
>    Peter> http://www-lsce.cea.fr/Pisp/52/peter.rayner.html
>    Peter> 
>    Peter> -----------------------------------------------------------------------------
>    Peter> To unsubscribe from the emacspeak list or change your
>    Peter> address on the emacspeak list send mail to
>    Peter> "emacspeak-request@xxxxxxxxxxx" with a subject of
>    Peter> "unsubscribe" or "help"
>
>-- 
>Best Regards,
>--raman
>
>      
>Email:  raman@xxxxxxxxxxx
>WWW:    http://emacspeak.sf.net/raman/
>AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
>PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
>Google: tv+raman 
>IRC:    irc://irc.freenode.net/#emacs
>
>-----------------------------------------------------------------------------
>To unsubscribe from the emacspeak list or change your address on the
>emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
>subject of "unsubscribe" or "help"
>

-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11;	mobile: +33 (6) 75 46 56 52;	 fax: +33 (1) 69 08 77 16
mail-to: peter.rayner@xxxxxxxxxxx
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog