URL Serializer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

URL Serializer

Ryan Puddephatt-3

All,

                In a fairly recent nightly I get the error “no protocol: ../static/iso-exchange.xml” when using a relative url with oxf:url-serializer....which according to the docs is supported

 

                Also with the following config, it ignores the encoding and produces UTF-8

 

                  <config xsl:version="2.0">

                        <url>../static/<xsl:value-of select="/instance/url" />.xml</url>

                        <content-type>application/xml</content-type>

                        <force-content-type>true</force-content-type>

                        <validating>true</validating>

                        <handle-xinclude>false</handle-xinclude>

                        <encoding>iso-8859-1</encoding>

                        <force-encoding>true</force-encoding>

                        <cache-control>

                              <use-local-cache>false</use-local-cache>

                        </cache-control>

                  </config>

 

Thanks

 

Ryan

 

-----------------------------------------------

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 


_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: URL Serializer

Alessandro Vernet
Administrator
Ryan,

On Thu, Sep 25, 2008 at 7:22 AM, Ryan Puddephatt
<[hidden email]> wrote:
>                 In a fairly recent nightly I get the error "no protocol:
> ../static/iso-exchange.xml" when using a relative url with
> oxf:url-serializer....which according to the docs is supported

Looking at the code, I don't think it does support relative URLs. Did
you really see that in the documentation?

>                 Also with the following config, it ignores the encoding and
> produces UTF-8

It only supports the <url> element. See:
http://www.orbeon.com/ops/doc/processors-serializers#url-serializer.

The file serializer supports setting the encoding (lower on the same
page). Of course, the URL serializer could be improved so it works more
like the file serializer. If you'd like to give a go at doing this and
need help, just let us know.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws