Hello Peter, thank you very much for your response. This sheds 
more light on this issue.

Please, see intermixed.


On 29 Oct 2002 at 11:49, Nevermann, Dr., Peter wrote:

> Hi Andreas,
> 
> > OK, I've just realized that I had misunderstood this. But 
> > unfortunatly this won't help me very much.
> > 
> > Class org.apache.slide.content.NodeProperty has the following 
> > four methods:
> > .isComputed()
> > .isDeadProperty()
> > .isLiveProperty()
> > .isProtected()
> > 
> > Which combinations are supposed to indicate that a property is 
> > writable?
> 
> A property p is writable iff !p.isProtected(). Furthermore, teh follwong
> implications hold:
> 1) p.isComputed() => p.isProtected => p.isLiveProperty()
> 2) p.isDeadProperty() => !p.isProtected() (i.e. is writable)
> 
Where is this specified? I don't find anything about protected 
and computed properties in RFC2518 or in 
\docs\schema\webdav.xsd. The spec is only about dead and live 
properties, I think.

> 
> > I tried it and observed the following:
> > 
> > - I can proppath DAV:getcontentlanguage to a collection 
> > resource, where it hasn't been set yet. It will accept even 
> > Strings like "deutsch", although it should be "de" (see 3.10 
> > Language Tags in RFC2068-Http/1.1)
> 
> The property value is currently not checked ... but that is something we can
> add.
> 
> 
> > - I can't change DAV:getcontentlanguage on a collection 
> > resource, where it has already been set
> > 
> > - I can't change DAV:getcontentlanguage on a file resource. 
> > It's set to "en" by default during create.
> > 
> > - Slide client 1.0.16 will say succeeded after Proppatch, 
> > although it did not succeed (Tomcat log says Rollback 
> > Transaction and it isn't changed)
> > 
> > - Slide client 2 (CVS 19 Oct) will exit to Windows command 
> > line without any message
> > 
> > So what should I do to set the content language of a resource?
> 
> It's a bug: the property is currently "protected" but it shouldn't. I will
> fix that immediately.

Thank you very much!

> 
> Regards,
> Peter
> 
> P.S.:
> Here is the list of all live properties as currently implemented in Slide.
> 
> ** All live in Jakarta-Slide **
> 
> P C Name                                Remark
> - - ----------------------------------- ------------------------------
>     ace
>   X acl
>   X acl-semantics
>   X activity-checkout-set
>     activity-set
>   X activity-version-set
>     alternate-URI-set
>     auto-merge-set
> X   auto-update
>     auto-version
> X   baseline-collection
> X   baseline-controlled-collection
>   X baseline-controlled-collection-set 
> X   checked-in
> X   checked-out
>     checkin-fork
>     checkout-fork
> X . checkout-set                        Made protected for performance
>     comment
> X   creationdate
>     creator-displayname
>     current-activity-set
>   X current-user-privilege-set
>   X current-workspace-set
>     displayname
>   X eclipsed-set
> X   getcontentlanguage
> X   getcontentlength
> X   getcontenttype
> X   getetag
> X   getlastmodified
> X   label-name-set
>   X lockdiscovery
>     merge-set
>   X owner
> X   predecessor-set
>   X principal-collection-set
> X   resourcetype
>   X root-version
> X   source
>     subactivity-set
> X   subbaseline-set
>   X successor-set
> . X supported-live-property-set         Value gets too long for some DBs
> . X supported-method-set                Value gets too long for some DBs
>   X supported-privilege-set
> . X supported-report-set                Value gets too long for some DBs
>   X supportedlock
>     unreserved
> X   version-controlled-binding-set
>   X version-controlled-configuration
>   X version-history
> X   version-name
> X   version-set
> X   workspace
>   X workspace-checkout-set
> 
> Legend:
> P=protected, C=computed
> "." marks deviations from the specs
> 

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

Reply via email to