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=36082>. 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=36082 ------- Additional Comments From [EMAIL PROTECTED] 2005-08-15 18:23 ------- Created an attachment (id=16053) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16053&action=view) Next revision Made changes as per this conversation: > > - The ImageFactory should not rely on the InputStream on the > > StreamSource to be set, as components like XML Commons Resolver don't > > do that. They only set the resolved URL on a (Stream?)Source object. > > This means that in the FOUserAgent, a Source should be returned, not > > a StreamSource. For SVG graphics you might even want to supply a > > DOMSource, but that's only nice-to-have and for later. I'm resolving > > this issue now since it's purpose is fulfilled now. > I was considering that as well but I am still hesitant to change > internal interfaces around too much. If it is agreeable to either > abolish the FOUserAgent.getStream() function or replace it with a > getSource() function I'll be happy to do this. I'd actually simply call it "resolveURI(String)" and return a Source, similar to the resolve() method in URIResolver. Source and its implementations provide all the different access variant for getting at sources. ATM, it suffices to support arbitrary sources which simply return a SystemID (which you can simply convert to a URL) and StreamSource whose getInputStream() returns a non-null value which you already implemented. DOMSource can wait till later and other stuff can be added as needed. We simply need to support providing InputStreams (done) and XML Commons URIResolver (open). -- 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.
