In my project I need to parse a HTML file (well formatted, as Xhtml).
This is html file is not too big... some styles, a Table with many td, and other stuff.
The HTML file is 8KB (not big)
The same file is parsed by the pdf plugin (so flying saucer) to make a PDF and this is really quick (less then one second, I think)
But if the same file is parsed by xmlslurper it takes 80 seconds.... yes, 80seconds...
I tryed with XMLSlurper, XMLParser and also the java XMLStreamReader. and it takes beetween 70 to 80 seconds
I Don't know why is so slowly
The html file is stored locally on the server (so no time for download)
this is the what i do to find in the HTML file a
« Return to Grails - user | 1 view|%1 views