cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEBRETON Philippe" <philippe.lebre...@cti-paysloire.cnamts.fr>
Subject LDPA processor query
Date Fri, 25 Aug 2000 07:35:18 GMT
How i can construct a query where with many attribut.
In the LDAP sample, the attribut is "sn" and i want request whith
"givename" and "email" attributs.
in LDAP syntaxe, the request is : &(givename="tot*")(email="tot*)
in xml file, my query is :
<ldap-query server="search" ldap-search="o=cnamts,c=fr">
&(givename="tot*")(email="tot*")
</ldap-query>
and the reponse is :
org.xml.sax.SAXParseException: The entity name must immediately follow
the '&' in the entity reference.
              at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)

              at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1347)
              at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:616)

              at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1295)

              at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)

              at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
              at
org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:83)
              at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
              at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:78)

              at org.apache.cocoon.Engine.handle(Engine.java:288)
              at org.apache.cocoon.Cocoon.service(Cocoon.java:166)
              at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)

              at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
              at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)

              at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)

              at java.lang.Thread.run(Thread.java)

Thank
Philippe LEBRETON


Mime
View raw message