Hi Erik,
Le lundi 31 janvier 2005 � 11:46 +0100, Erik Bruchez a �crit :
Remember this old thread?
I am now trying this workaround:
> Not that this is actually a great solution, but I should mention that
> you could use XSLT to clean-up the PFC document. The PFC is actually a
> processor like any other, with a "controller" input taking the PFC
> configuration. Instead of using the Page Flow processor as main
> processor in the application, you could use the Pipeline processor
> instead. That pipeline would read the PFC configuration, filter it, and
> send it to the PFC processor. Assuming both the PFC file and the
> stylesheet are static, caching will make sure that there is no
> performance hit.
The first thing that bites me is that all the relative references in my
page-flow.xml are now raising class java.net.MalformedURLException / no
protocol exceptions.
That seems pretty natural since the page flow is now a result in a pipe
and has no base URI.
A clean way to fix that would be to add an xml:base attribute in
page-flow.xml.
There was a thread earlier on this list mentioning that xml:base
attributes are not permitted per the current schema (and I can confirm
that!), but I am also wondering if, beyond that restriction, the
attribute would be handled properly by the PFC controller (in other
words, would that work if I changed the schema?).
Other workarounds are, of course, either to replace my relative URIs by
absolute ones in page-flow.xml or to rewrite them in the filtering
transformation.
Thanks,
Eric
--
Read me on Advogato.
http://advogato.org/person/vdv/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user