Any suggestion how to escape special characters? I have an api method which 
does something like
propertySet.set(key,value); The key could be any String, including such illegal 
characters. 
I need to store this some way or another in slide and have the pending method 
propertySet.get(key,value)
return the original value. So, is there a complete list of illegal (or of 
legal) characters so i could do some escaping 
instead of 'hope not to crash' ?

Le Lundi 27 Juin 2005 13:35, Stefan Eissing a écrit :
> The question is which characters are allowed names in WebDAV. Since  
> WebDAV uses XML element names, all allowed characters in those names  
> could work and all forbidden chars will definitely not work.
> 
> So whitespace, control chars, []{}/<> and friends will *not* work at  
> all.
> 
> //Stefan
> 
> Am 27.06.2005 um 13:26 schrieb delbd:
> 
> > What is the exact set of allowed characters in slide?
> > I got this error when getting the properties from a node in slide:
> >
> > org.jdom.IllegalNameException: The name "date[1].startHour" is not  
> > legal for
> > JDOM/XML elements: XML names cannot contain the character "[".
> >     at org.jdom.Element.setName(Element.java:206)
> >     at org.jdom.Element.<init>(Element.java:140)
> >     at
> > org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertyElement(P 
> > ropertyRetrieverImpl.java:570)
> >     at
> > org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertyElement(P 
> > ropertyRetrieverImpl.java:535)
> >     at
> > org.apache.slide.webdav.util.PropertyRetrieverImpl.getAllPropertiesOfOb 
> > ject(PropertyRetrieverImpl.java:458)
> >     at
> > org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObjec 
> > t(PropertyRetrieverImpl.java:300)
> >     at
> > org.apache.slide.webdav.util.PropertyRetrieverImpl.getPropertiesOfObjec 
> > t(PropertyRetrieverImpl.java:264)
> >     at
> > org.apache.slide.webdav.method.PropFindMethod.getPropertiesOfObject(Pro 
> > pFindMethod.java:509)
> >     at
> > org.apache.slide.webdav.method.PropFindMethod.executeRequest(PropFindMe 
> > thod.java:292)
> >     at
> > org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavM 
> > ethod.java:405)
> >     at  
> > org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:155)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> > ationFilterChain.java:252)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> > terChain.java:173)
> >     at  
> > org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> > ationFilterChain.java:202)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> > terChain.java:173)
> >     at  
> > be.rmi.intranet.filter.PrincipalUser.doFilter(PrincipalUser.java:72)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> > ationFilterChain.java:202)
> >     at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> > terChain.java:173)
> >     at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> > ve.java:214)
> >     at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal 
> > ve.java:178)
> >     at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato 
> > rBase.java:407)
> >     at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> > a:126)
> >     at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> > a:105)
> >     at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve 
> > .java:107)
> >     at  
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 
> > 526)
> >     at
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> > 148)
> >     at  
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> > 825)
> >     at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> > Connection(Http11Protocol.java:738)
> >     at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin 
> > t.java:526)
> >     at
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo 
> > werWorkerThread.java:80)
> >     at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> > l.java:684)
> >     at java.lang.Thread.run(Thread.java:534)
> > http-8080-Processor7, 27-Jun-2005 13:16:44, delbd, PROPFIND, 500  
> > "Internal
> > Server Error", 46 ms, /WORKFLOW/ACTIVATED/workflowInstance.5140/
> >
> > -- 
> > David Delbecq
> > Royal Meteorological Institute of Belgium
> >
> > -
> > Is there life after /sbin/halt -p?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to