Hi,
Just thought I would jump in re:serializers and platform independence
seeing I have been looking at this one as well..
It seems the best way to achieve platform independence for file manipulation
with oxf will be to read and write from/to an HTTP DAV filesystem using
GET/PUT rather than an ordinary file system. The DAV filesystem may be an
NTFS or UNIX filesystem mounted by Apache HTTPD. Or it may be a DAV
interface onto a relational or XML database such as with eXist or xIndice..
Or onto a versioned filesystem such as Subversion..
http://exist-db.org/quickstart.html#N400368
http://xml.apache.org/xindice/
http://svnbook.red-bean.com/html-chunk/apds02.html#svn-app-d-sect2.3
I think this is the functionality that the URLSerializer in combination with
the URLGenerator will seek to address?
If you need platform independence then this will be a better, more standard
option than a fileserializer though the performance may not be quite as
good.
Damon.
----- Original Message -----
From: "Erik Bruchez" <[EMAIL PROTECTED]>
To: "OXF Users" <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 11:21 PM
Subject: Re: file serializer question
> Calvin,
>
> We'll try to include writing to the OXF protocol (and other protocols) in
2.0
> final. This will most likely be included in a new URL Serializer, that
will be
> the mirror of the URL Generator.
>
> -Erik
>
> Calvin Smith wrote:
>
> > Erik,
> >
> > Thanks for the response. Am I correct in assuming that the property for
> > the default base directory in the properties.xml file will accept the
> > oxf:/ protocol, like other properties in that file do? I hope so,
> > otherwise we still will have to change the properties file for every
> > different platform that we run on, which is not really acceptable given
> > that this is the only thing preventing cross-platform deployability now.
> >
> > -calvin
> >
> > Erik Bruchez wrote:
> >
> >> Calvin,
> >>
> >> The new File Serializer supports a property that you can set in
> >> properties.xml to set the default base directory. This way you can use
> >> relative paths against that base directory.
> >>
> >> The beta is due REAL soon now, and will include the new File
> >> Serializer features.
> >>
> >> -Erik
> >>
> >> Calvin Smith wrote:
> >> > Does the new file serializer accept the oxf protocol, or a relative
> >> path?
> >> >
> >> > Is there any chance that the new file serializer class is available
> >> > before the upcoming (compete) release, so that we could just
> >> replace it
> >> > in the oxf jar and get that functionality now? We are doing a lot of
> >> > writing to files, and the present file serializer is inadequate for
> >> our
> >> > needs.
> >> >
> >> > -calvin
> >> >
> >> > Erik Bruchez wrote:
> >> >
> >> >> Hi Bob,
> >> >>
> >> >> This is not possible at this point, but the file serializer that
will
> >> >> come with OXF 2.0 will be fully configurable. For more information
> >> >> about the upcoming release, see:
> >> >>
> >> >> http://www.orbeon.com/oxf/upcoming-release
> >> >>
> >> >> We expect a preview release or 2.0 any time now.
> >> >>
> >> >> -Erik
> >> >>
> >> >> Bob Daly wrote:
> >> >>
> >> >> > The oxf/processor/file-serializer seems to default to writing
HTML
> >> >> > documents.
> >> >> >
> >> >> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
> >> >> > "http://www.w3.org/TR/html4/loose.dtd">
> >> >> >
> >> >> > Is there a way to replace this doc header with <?xml
version="1.0"
> >> >> > encoding="UTF-8"?> ?
> >> >> >
> >> >> > thanks
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> oxf-users mailing list
> >> >> [EMAIL PROTECTED]
> >> >> http://mail.orbeon.com/mailman/listinfo/oxf-users
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > oxf-users mailing list
> >> > [EMAIL PROTECTED]
> >> > http://mail.orbeon.com/mailman/listinfo/oxf-users
> >>
> >>
> >> _______________________________________________
> >> oxf-users mailing list
> >> [EMAIL PROTECTED]
> >> http://mail.orbeon.com/mailman/listinfo/oxf-users
> >
> >
> >
> > _______________________________________________
> > oxf-users mailing list
> > [EMAIL PROTECTED]
> > http://mail.orbeon.com/mailman/listinfo/oxf-users
>
>
> _______________________________________________
> oxf-users mailing list
> [EMAIL PROTECTED]
> http://mail.orbeon.com/mailman/listinfo/oxf-users
>
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users