Permalink
Browse files

Alfresco: don't encode path as users have reported issues with this e…

…ncoding.
  • Loading branch information...
1 parent a1babb8 commit b511105944a1375db4aaab6bf4ac23e09a404a12 @ebruchez ebruchez committed Nov 2, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/resources/apps/fr/alfresco/alfresco-model.xml
@@ -45,10 +45,12 @@
<xxforms:variable name="alfresco-uri" select="xxforms:property(string-join(('oxf.fr.alfresco.uri', $app, $form), '.'))" as="xs:anyURI"/>
<xxforms:variable name="alfresco-username" select="xxforms:property(string-join(('oxf.fr.alfresco.username', $app, $form), '.'))" as="xs:string"/>
<xxforms:variable name="alfresco-credentials" select="xxforms:property(string-join(('oxf.fr.alfresco.credentials', $app, $form), '.'))" as="xs:string"/>
- <!-- Make sure to encode path using ISO 9075-14:2003 -->
+ <!-- NOTE: Users have reported issues with encoding with ISO 9075-14:2003 (xxforms:encode-iso9075-14($p)), so we
+ don't encode anymore. It is not clear why this was done anyway. Success has been reported 2011-11 with Alfresco
+ 4.0.a. -->
<xxforms:variable name="alfresco-path"
- select="string-join(for $p in tokenize(xxforms:property(string-join(('oxf.fr.alfresco.path', $app, $form), '.')), '/')
- return xxforms:encode-iso9075-14($p), '/')" as="xs:string"/>
+ select="string-join(for $p in tokenize(xxforms:property(string-join(('oxf.fr.alfresco.path', $app, $form), '.')), '/')
+ return $p, '/')" as="xs:string"/>
<!-- ===== Public interface ==================================================================================== -->

0 comments on commit b511105

Please sign in to comment.