jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: CSS Parser
Date Fri, 25 Mar 2016 20:56:15 GMT
Hello,
In order to finalize Parallel Download , we need to introduce CSS parsing
to extract from CSS the URL of resources to download.

For now I found 3 parsers:
1/
https://github.com/radkovo/jStyleParser : LGPL3 : License incompatible
2/
- http://cssparser.sourceforge.net/ <http://cssparser.sourceforge.net/>
LGPL3 : License incompatible and seems to be

3/
Some tiny parsers


4/ and finally this one:
- https://github.com/phax/ph-css (Apache 2 license)

We would need something like this:
https://github.com/phax/ph-css/blob/master/src/test/java/com/helger/css/supplementary/wiki/WikiVisitUrls.java

Reference:
http://stackoverflow.com/questions/1513587/looking-for-a-css-parser-in-java


So what should be do ?
- Use ph-css ?
- Create our own parser knowing we need to parse 2 expressions (@import url
and inlined images ) but must also handle comments which make it more
complex

Thoughts ?
Regards
Philippe


On Fri, Mar 25, 2016 at 9:51 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello,
> In order to finalize Parallel Download , we need to introduce CSS parsing
> to extract from CSS the URL of resources to download.
>
> For now I found 3 parsers:
> - jstyleparser : License incompatible
>
> http://stackoverflow.com/questions/1513587/looking-for-a-css-parser-in-java
>
> http://cssparser.sourceforge.net/ LGPL3 : License incompatible and seems
> to be
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message