So, I think I've found a bug, but I'd like to hear if anyone else can
confirm it:

I try to make a query using SOAP for an entity in the DAL, using the
following bits of XML:

<soapenv:Envelope xmlns:soapenv="" xmlns:ser="">
<ser:arg2>AUPerson-AUID = '123456'</ser:arg2>

The first two fields, I don't get any errors from the hyphens in. The
query part, however, the AUPerson-AUID, I get the following error back
from the server:

<SOAP-ENV:Envelope xmlns:SOAP-ENV='' xmlns:xsd='' xmlns:xsi=''><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>Server</faultcode><faultstring>Lexical error at line 1, column 9. Encountered: &quot;-&quot; (45), after : &quot;&quot;</faultstring><detail><ns1:exception xmlns="" xmlns:ns1="" xmlns:ns2="" xsi:type="ns2:TokenMgrError"></ns1:exception><stackTrace xmlns="" xsi:type="xsd:string">com.novell.srvprv.impl.vdata Lexical error at line 1, column 9. Encountered: &quot;-&quot; (45), after : &quot;&quot;
at QueryParserForWSTokenManager.getNextToken(VirtualE
at QueryParserForWS.jj_ntk(VirtualEntityQueryParserFo
at QueryParserForWS.RelationalExpression(VirtualEntit
at QueryParserForWS.Expression(VirtualEntityQueryPars
at QueryParserForWS.Input(VirtualEntityQueryParserFor
at ceSkeletonImpl.queryVdx(VdxServiceSkeletonImpl.jav a:180)
at ceSkeletonImpl.query( 46)
at rviceSkeleton._invoke(IRemoteVdx_ServiceSkeleton.j ava:192)
at Point(

etc. etc.

Am I wrong to think that hyphens are allowed in attribute names? As I
recall, they are in LDAP, and Designer allows it no problems. (It allows
'.' and '_' as well, but these give rise to Other Problems.)

Hope someone here can give me a clue for this, or confirm that this is
indeed a bug.


mihtjel's Profile:
View this thread: