From: Sven G. <sg...@gm...> - 2005-10-30 23:32:57
|
Sven Germann wrote: > I am trying to port an XQuery application to eXist, and I found > two problems with processing instructions. > > First, eXist's XQuery parser insists on two spaces inside of a > direct PI constructor without a PI target, i.e. it accepts > > <?x ?> > > but rejects > > <?x?> > > Second, the processing-instruction() node test seems to be known > by the parser, but obviously there is no implementation, e.g. > > <?x ?>/self::processing-instruction() > > throws an exception "unexpected AST node:processing-instruction". I posted the above some time ago, but it seems like it got lost somewhere in the Sourceforge list server. From some more tests my feeling is that there is (almost?) no support in eXist's XQuery for processing instructions. Would it be possible to implement some? Thanks. |