Hi Mike, Anything except a syntax error.. ;-)
Kind regards, Geert PS: MarkLogic Support has picked it up.. -----Oorspronkelijk bericht----- Van: Mike Sokolov [mailto:[email protected]] Verzonden: woensdag 4 mei 2011 15:04 Aan: General MarkLogic Developer Discussion CC: Geert Josten Onderwerp: Re: [MarkLogic Dev General] Validate within element content throws exception Geert: were you expecting it to say [1.0-ml] XDMP-VALIDATENODECL: (err:XQDY0084) validate { <test/> } -- Missing element declaration: Expected declaration for node /test in non-lax mode using schema "" instead? On 05/04/2011 03:32 AM, Geert Josten wrote: > Hi, > > I am running ML 4.2-1 on win7 64-bit. When I run this code it throws an > exception. The syntax parser seems to get confused. Is it a known bug? Or > perhaps fixed in latest version? > > xquery version '1.0-ml'; > > <test>{ validate {<test/> } }</test> > > Exception: > [1.0-ml] XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, > unexpected ElementContentSpace_, expecting Comma_ or Rbrace_ > > Kind regards, > Geert > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
