You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/05/24 06:17:05 UTC

DO NOT REPLY [Bug 42505] New: - Rasteriser should accept relative URIs for -cssUser

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42505

           Summary: Rasteriser should accept relative URIs for -cssUser
           Product: Batik
           Version: 1.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Rasterizer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: cam@apache.org


Relative URIs don't work with the -cssUser command line option:

jet:/tmp $ batik-rasterizer -cssUser y.css y.svg
About to transcode 1 SVG file(s)

Converting y.svg to y.png ... java.net.MalformedURLException: no protocol: y.css
        at java.net.URL.<init>(URL.java:567)
        ...

They should instead be resolved against the URI of the SVG document to rasterise.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Re: DO NOT REPLY [Bug 42505] New: - Rasteriser should accept relative URIs for -cssUser

Posted by Cameron McCormack <ca...@mcc.id.au>.
Bjoern Hoehrmann:
> I think that would be rather weird; why not resolve it against the cwd?

You’re right, that’s far more sensible.

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Re: DO NOT REPLY [Bug 42505] New: - Rasteriser should accept relative URIs for -cssUser

Posted by Bjoern Hoehrmann <de...@gmx.net>.
* bugzilla@apache.org wrote:
>Relative URIs don't work with the -cssUser command line option:
>
>jet:/tmp $ batik-rasterizer -cssUser y.css y.svg
>About to transcode 1 SVG file(s)
>
>Converting y.svg to y.png ... java.net.MalformedURLException: no protocol: y.css
>        at java.net.URL.<init>(URL.java:567)
>        ...
>
>They should instead be resolved against the URI of the SVG document to rasterise.

I think that would be rather weird; why not resolve it against the cwd?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 42505] - Rasteriser should accept relative URIs for -cssUser

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42505


cam@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From cam@apache.org  2007-09-27 05:44 -------
Fixed in SVN.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 42505] - Rasteriser should accept relative URIs for -cssUser

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42505>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42505





------- Additional Comments From cam@apache.org  2007-05-23 21:48 -------
> They should instead be resolved against the URI of the SVG document to
> rasterise.

Rather, they should be resolved against the cwd (as mentioned by Bj�rn).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org