07-08-2008 04:31 AM
nodeService.getChildByName( rootNodeRef, QName.createQName( "{http://www.alfresco.org/model/content/1.0}category" ), "categories/General/Screening status/Screening ok" );
this line returns nullnodeService.getChildByName( rootNodeRef, QName.createQName( "{http://www.alfresco.org/model/content/1.0}category" ), "Screening ok" );
this line returns nullsearchService.selectNodes( rootNodeRef, "cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok", null, namespaceService, false );
This last line throws the following exception:
org.alfresco.service.cmr.repository.XPathException: Error executing xpath:
xpath: cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok
Caused by: org.jaxen.XPathSyntaxException: Unexpected 'status/cm:screening ok'
Caused by: class org.jaxen.saxpath.XPathSyntaxException: cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok: 52: Unexpected 'status/cm:screening ok'
07-08-2008 04:38 AM
07-08-2008 05:34 AM
cm:categoryRoot/cm:generalclassifiable/cm:'Screening status'/cm:'screening ok'
cm:categoryRoot/cm:generalclassifiable/cm:"Screening status"/cm:"screening ok"
cm:categoryRoot/cm:generalclassifiable/'cm:Screening status'/'cm:screening ok'
cm:categoryRoot/cm:generalclassifiable/"cm:Screening status"/"cm:screening ok"
"cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok"
'cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok'
cm:categoryRoot/cm:generalclassifiable/cm:Screening\ status/cm:screening\ ok
cm:categoryRoot/cm:generalclassifiable/cm:Screening\\ status/cm:screening\\ ok
cm:categoryRoot/cm:generalclassifiable/cm:Screening%20status/cm:screening%20ok
cm:categoryRoot/cm:generalclassifiable/cm:Screening status/cm:screening ok
cm:categoryRoot/cm:generalclassifiable/cm:Screening\x20status/cm:screening\x20ok
07-08-2008 08:33 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.