You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by adel ben <ad...@excite.com> on 2001/04/30 16:38:51 UTC

images from a server ?

Hi,

I realized that images which are referenced in xsl files must exist
physically in a support ( a disk). but I would like to reference images
dynamically from a server (by sending a request related to an appropriate
context).
Is there a means to do that? Please help.

regards,
adel





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: AW: images from a server ?

Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
At 06:27 PM 5/1/01 +0200, Drik Seppelt wrote:
>Hi Eric,
>
>I think, that URL's are not powerful enough.
>It would be very useful if FOP loaded all external resources as pictures
>with the aid of a mechanism like the org.xml.sax.EntityResolver (see
>Xerces).
>With that everyone could define this resolver again and load pictures for
>example direct from a database

I understand your argument, but when you look at 
ftp://ftp.isi.edu/in-notes/iana/assignments/url-schemes and 
http://www.w3.org/Addressing/schemes.html, I'd be surprised if you can't 
find an official or unofficial URI scheme that already meets your needs, 
obviating the requirement for an entity-resolver-based mechanism that users 
can configure. Not only have we had file: for quite a while, but ldap: and 
jdbc: have been around for a bit, and it seems like those should be
sufficient.

The real issue is this - what official and unofficial URI addressing schemes 
do we want to support?

Regards,
Arved Sandstrom

Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: images from a server ?

Posted by Eric SCHAEFFER <e-...@wanadoo.fr>.
I understand what you want to do...
FOP uses the java.net.URL class to load the image data. What would be better
is to have a URI scheme to access database directly, no ? (I don't think
that it exists, but...)

For now, you need to use a web server (or any net service that can execute
code).

Eric.

______________________________

Eric SCHAEFFER
eschaeffer@emahoo.com
FOP, the first XSL:FO Processor
http://xml.apache.org/fop

----- Original Message -----
From: "Drik Seppelt" <di...@t-online.de>
To: <fo...@xml.apache.org>
Sent: Tuesday, May 01, 2001 6:27 PM
Subject: AW: images from a server ?


> Hi Eric,
>
> I think, that URL's are not powerful enough.
> It would be very useful if FOP loaded all external resources as pictures
> with the aid of a mechanism like the org.xml.sax.EntityResolver (see
> Xerces).
> With that everyone could define this resolver again and load pictures for
> example direct from a database
>
> Regards,
> Dirk
>
> -----Ursprüngliche Nachricht-----
> Von: Eric SCHAEFFER [mailto:e-schaeffer@wanadoo.fr]
> Gesendet: Montag, 30. April 2001 23:12
> An: fop-dev@xml.apache.org
> Betreff: Re: images from a server ?
>
>
> Images are referenced by URLs (not only files on disk). You can then
create
> dynamically your images ...
>
> Eric.
> ______________________________
>
> Eric SCHAEFFER
> eschaeffer@emahoo.com
> FOP, the first XSL:FO Processor
> http://xml.apache.org/fop
>
> ----- Original Message -----
> From: "adel ben" <ad...@excite.com>
> To: <fo...@xml.apache.org>
> Sent: Monday, April 30, 2001 4:38 PM
> Subject: images from a server ?
>
>
> > Hi,
> >
> > I realized that images which are referenced in xsl files must exist
> > physically in a support ( a disk). but I would like to reference images
> > dynamically from a server (by sending a request related to an
appropriate
> > context).
> > Is there a means to do that? Please help.
> >
> > regards,
> > adel
> >
> >
> >
> >
> >
> > _______________________________________________________
> > Send a cool gift with your E-Card
> > http://www.bluemountain.com/giftcenter/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> > For additional commands, email: fop-dev-help@xml.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


AW: images from a server ?

Posted by Drik Seppelt <di...@t-online.de>.
Hi Eric,

I think, that URL's are not powerful enough.
It would be very useful if FOP loaded all external resources as pictures
with the aid of a mechanism like the org.xml.sax.EntityResolver (see
Xerces).
With that everyone could define this resolver again and load pictures for
example direct from a database

Regards,
Dirk

-----Ursprüngliche Nachricht-----
Von: Eric SCHAEFFER [mailto:e-schaeffer@wanadoo.fr]
Gesendet: Montag, 30. April 2001 23:12
An: fop-dev@xml.apache.org
Betreff: Re: images from a server ?


Images are referenced by URLs (not only files on disk). You can then create
dynamically your images ...

Eric.
______________________________

Eric SCHAEFFER
eschaeffer@emahoo.com
FOP, the first XSL:FO Processor
http://xml.apache.org/fop

----- Original Message -----
From: "adel ben" <ad...@excite.com>
To: <fo...@xml.apache.org>
Sent: Monday, April 30, 2001 4:38 PM
Subject: images from a server ?


> Hi,
>
> I realized that images which are referenced in xsl files must exist
> physically in a support ( a disk). but I would like to reference images
> dynamically from a server (by sending a request related to an appropriate
> context).
> Is there a means to do that? Please help.
>
> regards,
> adel
>
>
>
>
>
> _______________________________________________________
> Send a cool gift with your E-Card
> http://www.bluemountain.com/giftcenter/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: images from a server ?

Posted by Eric SCHAEFFER <e-...@wanadoo.fr>.
Images are referenced by URLs (not only files on disk). You can then create
dynamically your images ...

Eric.
______________________________

Eric SCHAEFFER
eschaeffer@emahoo.com
FOP, the first XSL:FO Processor
http://xml.apache.org/fop

----- Original Message -----
From: "adel ben" <ad...@excite.com>
To: <fo...@xml.apache.org>
Sent: Monday, April 30, 2001 4:38 PM
Subject: images from a server ?


> Hi,
>
> I realized that images which are referenced in xsl files must exist
> physically in a support ( a disk). but I would like to reference images
> dynamically from a server (by sending a request related to an appropriate
> context).
> Is there a means to do that? Please help.
>
> regards,
> adel
>
>
>
>
>
> _______________________________________________________
> Send a cool gift with your E-Card
> http://www.bluemountain.com/giftcenter/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org