You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Martin Holz <ho...@fiz-chemie.de> on 2004/01/01 13:57:56 UTC

Re: more acl stuff

McClain Looney <m...@loonsoft.com> writes:

> Hello,
> 
> In doing further reading to try and decipher the group api, I came across the 
> november 2003 thread re ACL draft-12 compliance.  This clarified things in a 
> big way of course, but left me with further questions:
> 
> 1. is there a schedule for removing the old role/group stuff? 2.0 release?
> 
> 2. is there some canonical example of how to use the new acl stuff?
> 
> 3. do i have to do stuff like role.setProperty(new 
> NodeProperty("group-member-set", vectorFullOfXmlStringsAlADomain_xml); to 
> actually assign roles? or is there an unknown (to me) api for doing so?

AFAIK there is no higher level API to do this. Maybe it should be added to 
MacroImpl.

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: slide 2 and german characters

Posted by Julian Reschke <ju...@gmx.de>.
Jacob Lund wrote:

> If I use a TcpTrace program to monitor communication between DAVExplorer and
> slide - and then do an mkcol and name the collection a single special danish
> letter then DAVExplorer sends following:
> 
> MKCOL /files/%E6 HTTP/1.1
> 
> It should have been:
> MKCOL /files/%C3%86 HTTP/1.1
> 
> What do you do to get DAVExplorer to use UTF-8? I am using DAVExplorer 0.90
> and windows XP!

I see and you are probably right. The only thing I checked was that 
browsing in folders that contain UTF-8 encoded names works fine. I 
didn't try creating anything.

So yes, I'd consider that a bug.

Julian


-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: slide 2 and german characters

Posted by Jacob Lund <jl...@qualiware.com>.
If I use a TcpTrace program to monitor communication between DAVExplorer and
slide - and then do an mkcol and name the collection a single special danish
letter then DAVExplorer sends following:

MKCOL /files/%E6 HTTP/1.1

It should have been:
MKCOL /files/%C3%86 HTTP/1.1

What do you do to get DAVExplorer to use UTF-8? I am using DAVExplorer 0.90
and windows XP!

/Jacob

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de] 
Sent: 8. januar 2004 13:39
To: Slide Users Mailing List
Subject: Re: slide 2 and german characters

Jacob Lund wrote:
> What I meant was open source clients like DAVExplorer only encodes in
local
> character set - sorry about that!
> 
> Do you know of any opensource clients that uses UTF-8?

I just checked DAV Explorer, and it just works fine with UTF-8.

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: slide 2 and german characters

Posted by Julian Reschke <ju...@gmx.de>.
Jacob Lund wrote:
> What I meant was open source clients like DAVExplorer only encodes in local
> character set - sorry about that!
> 
> Do you know of any opensource clients that uses UTF-8?

I just checked DAV Explorer, and it just works fine with UTF-8.

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: slide 2 and german characters

Posted by Jacob Lund <jl...@qualiware.com>.
What I meant was open source clients like DAVExplorer only encodes in local
character set - sorry about that!

Do you know of any opensource clients that uses UTF-8?

/Jacob

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de] 
Sent: 7. januar 2004 10:00
To: Slide Users Mailing List
Subject: Re: slide 2 and german characters

Jacob Lund wrote:
> The webfolders in windows XP uses UTF8. Most of the DAV clients that I
have

*Current* webfolder versions. The Webfolder client ships with Windows, 
IE, Office, .Net and other packages.

> found encodes in client character set and not UTF8.

Such as...? Clients that definitively *do* use UTF-8 are:

- Xythos
- Adobe GoLive
- MacOS X
...

Regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: slide 2 and german characters

Posted by Julian Reschke <ju...@gmx.de>.
Jacob Lund wrote:
> The webfolders in windows XP uses UTF8. Most of the DAV clients that I have

*Current* webfolder versions. The Webfolder client ships with Windows, 
IE, Office, .Net and other packages.

> found encodes in client character set and not UTF8.

Such as...? Clients that definitively *do* use UTF-8 are:

- Xythos
- Adobe GoLive
- MacOS X
...

Regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: slide 2 and german characters

Posted by Jacob Lund <jl...@qualiware.com>.
The webfolders in windows XP uses UTF8. Most of the DAV clients that I have
found encodes in client character set and not UTF8.

/Jacob

-----Original Message-----
From: E.A.Holmes [mailto:e.holmes@t-online.at] 
Sent: 6. januar 2004 23:37
To: Slide Users Mailing List
Subject: RE: slide 2 and german characters

Thanks for the tips.
I've set slide.properties and the txFileStore encoding to UTF-8.  I'll
see what I can do about updating my 2000 webfolders.

I tried it with Konqueror on a SuSe box, and I can create and move into
collections with umlauts in the title, but they are still displayed
incorrectly (incorrect special characters).  Is there a client I can use
to be sure things are working correctly?  I've also tried cadaver but
I'm having no luck there either.....

Thanks for any advice and help,

Eric

On Sun, 2004-01-04 at 21:55, Jacob Lund wrote:
> This sounds like an encoding problem!
> 
> I would recommend UTF-8 encoding!
> 
> This is what worked for me! Use the coyote connector with parameter
> useURIValidationHack="false". Encoding in Slide.propetries file must be
set
> to UTF-8! This should enable tomcat and slide to encode UTF-8 correctly!
> 
> With respect to you client Microsoft webfolders are a bit tricky!
Following
> dll's must be updated to latest version on your windows installation:
> msdaipp.dll and msdapml.dll! Otherwise webfolders will encode in client
> character set and not UTF-8! These files are included in the office 2000
> SP3! (for details please refer to previous postings on this list:
"Microsoft
> Webfolder support")
> 
> I hope this can point you in a right direction!
> 
> /Jacob
> 
> -----Original Message-----
> From: E.A.Holmes [mailto:e.holmes@t-online.at] 
> Sent: 3. januar 2004 21:08
> To: Slide Users Mailing List
> Subject: slide 2 and german characters
> 
> Hello,
> 
> I'm trying to get slide2 with the txFileStore to work with German
> characters without much success.  I've searched in the archives and have
> seen that some people have had success (with slide 1.16, I think), but
> unfortunately they haven't described how they've done it.
> 
> I'm trying to get it to work with Tomcat 4.1.29 running on a Debian
> machine with WebFolders on a machine running Windows 2000 as a client.
> When I create a collection and then rename it to something with an
> umlaut like 'hören' everything seems to be ok (a file hören.def.xml is
> created and and the parent folder has a <child>hören</child> entry) but
> when I attempt to switch into the folder I receive a failure.
> 
> I've added the RequestDumpValve to the webapp context and the request is
> attempted on the /docs/h%F6ren URI, which seems ok.
> The response sends the following error: 
> message=Not Found: No object found at /docs/g�
> 
> I've tried changing the encoding in slide.properties in the
> slide-kernel.jar as well as the encoding in the store itself, but
> nothing has worked as of yet.
> 
> Can anyone point me in the right direction to help me get this working?
> 
> Thanks,
> 
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: slide 2 and german characters

Posted by "E.A.Holmes" <e....@t-online.at>.
Thanks for the tips.
I've set slide.properties and the txFileStore encoding to UTF-8.  I'll
see what I can do about updating my 2000 webfolders.

I tried it with Konqueror on a SuSe box, and I can create and move into
collections with umlauts in the title, but they are still displayed
incorrectly (incorrect special characters).  Is there a client I can use
to be sure things are working correctly?  I've also tried cadaver but
I'm having no luck there either.....

Thanks for any advice and help,

Eric

On Sun, 2004-01-04 at 21:55, Jacob Lund wrote:
> This sounds like an encoding problem!
> 
> I would recommend UTF-8 encoding!
> 
> This is what worked for me! Use the coyote connector with parameter
> useURIValidationHack="false". Encoding in Slide.propetries file must be set
> to UTF-8! This should enable tomcat and slide to encode UTF-8 correctly!
> 
> With respect to you client Microsoft webfolders are a bit tricky! Following
> dll's must be updated to latest version on your windows installation:
> msdaipp.dll and msdapml.dll! Otherwise webfolders will encode in client
> character set and not UTF-8! These files are included in the office 2000
> SP3! (for details please refer to previous postings on this list: "Microsoft
> Webfolder support")
> 
> I hope this can point you in a right direction!
> 
> /Jacob
> 
> -----Original Message-----
> From: E.A.Holmes [mailto:e.holmes@t-online.at] 
> Sent: 3. januar 2004 21:08
> To: Slide Users Mailing List
> Subject: slide 2 and german characters
> 
> Hello,
> 
> I'm trying to get slide2 with the txFileStore to work with German
> characters without much success.  I've searched in the archives and have
> seen that some people have had success (with slide 1.16, I think), but
> unfortunately they haven't described how they've done it.
> 
> I'm trying to get it to work with Tomcat 4.1.29 running on a Debian
> machine with WebFolders on a machine running Windows 2000 as a client.
> When I create a collection and then rename it to something with an
> umlaut like 'hören' everything seems to be ok (a file hören.def.xml is
> created and and the parent folder has a <child>hören</child> entry) but
> when I attempt to switch into the folder I receive a failure.
> 
> I've added the RequestDumpValve to the webapp context and the request is
> attempted on the /docs/h%F6ren URI, which seems ok.
> The response sends the following error: 
> message=Not Found: No object found at /docs/g�
> 
> I've tried changing the encoding in slide.properties in the
> slide-kernel.jar as well as the encoding in the store itself, but
> nothing has worked as of yet.
> 
> Can anyone point me in the right direction to help me get this working?
> 
> Thanks,
> 
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: slide 2 and german characters

Posted by Jacob Lund <jl...@qualiware.com>.
This sounds like an encoding problem!

I would recommend UTF-8 encoding!

This is what worked for me! Use the coyote connector with parameter
useURIValidationHack="false". Encoding in Slide.propetries file must be set
to UTF-8! This should enable tomcat and slide to encode UTF-8 correctly!

With respect to you client Microsoft webfolders are a bit tricky! Following
dll's must be updated to latest version on your windows installation:
msdaipp.dll and msdapml.dll! Otherwise webfolders will encode in client
character set and not UTF-8! These files are included in the office 2000
SP3! (for details please refer to previous postings on this list: "Microsoft
Webfolder support")

I hope this can point you in a right direction!

/Jacob

-----Original Message-----
From: E.A.Holmes [mailto:e.holmes@t-online.at] 
Sent: 3. januar 2004 21:08
To: Slide Users Mailing List
Subject: slide 2 and german characters

Hello,

I'm trying to get slide2 with the txFileStore to work with German
characters without much success.  I've searched in the archives and have
seen that some people have had success (with slide 1.16, I think), but
unfortunately they haven't described how they've done it.

I'm trying to get it to work with Tomcat 4.1.29 running on a Debian
machine with WebFolders on a machine running Windows 2000 as a client.
When I create a collection and then rename it to something with an
umlaut like 'hören' everything seems to be ok (a file hören.def.xml is
created and and the parent folder has a <child>hören</child> entry) but
when I attempt to switch into the folder I receive a failure.

I've added the RequestDumpValve to the webapp context and the request is
attempted on the /docs/h%F6ren URI, which seems ok.
The response sends the following error: 
message=Not Found: No object found at /docs/g�

I've tried changing the encoding in slide.properties in the
slide-kernel.jar as well as the encoding in the store itself, but
nothing has worked as of yet.

Can anyone point me in the right direction to help me get this working?

Thanks,

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


slide 2 and german characters

Posted by "E.A.Holmes" <e....@t-online.at>.
Hello,

I'm trying to get slide2 with the txFileStore to work with German
characters without much success.  I've searched in the archives and have
seen that some people have had success (with slide 1.16, I think), but
unfortunately they haven't described how they've done it.

I'm trying to get it to work with Tomcat 4.1.29 running on a Debian
machine with WebFolders on a machine running Windows 2000 as a client.
When I create a collection and then rename it to something with an
umlaut like 'hören' everything seems to be ok (a file hören.def.xml is
created and and the parent folder has a <child>hören</child> entry) but
when I attempt to switch into the folder I receive a failure.

I've added the RequestDumpValve to the webapp context and the request is
attempted on the /docs/h%F6ren URI, which seems ok.
The response sends the following error: 
message=Not Found: No object found at /docs/g�

I've tried changing the encoding in slide.properties in the
slide-kernel.jar as well as the encoding in the store itself, but
nothing has worked as of yet.

Can anyone point me in the right direction to help me get this working?

Thanks,

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org