You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <ph...@gmail.com> on 2016/03/25 21:51:48 UTC

CSS Parser

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.

Re: CSS Parser

Posted by Philippe Mouawad <ph...@gmail.com>.
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.