Re: Weird parsing difference

2021-07-02 Thread Andy Seaborne
On 02/07/2021 15:36, Claude Warren wrote: If I use an ARQParser to parse the string "?x < 10" I get an E_LessThan object with the expected var and and XMLSchema#integer If I use NodeFactory.createLiteral(LiteralLabelFactory.createTypedLiteral( 10 )) I get the XMLSchema#int. This means that t

Re: Query Pattern question

2021-07-02 Thread Andy Seaborne
On 02/07/2021 13:48, Claude Warren wrote: Is there any effective difference (execution difference) between ElementGroup [ ElementPathBlock[ ], ElementPathBlock[ ] ] and ElementPathBlock[ , ] In execution - same effect. (Actually, there is a slight difference at the parsing level abo

Weird parsing difference

2021-07-02 Thread Claude Warren
If I use an ARQParser to parse the string "?x < 10" I get an E_LessThan object with the expected var and and XMLSchema#integer If I use NodeFactory.createLiteral(LiteralLabelFactory.createTypedLiteral( 10 )) I get the XMLSchema#int. This means that the following fails {noformat} E_LessThan lt1 =

Query Pattern question

2021-07-02 Thread Claude Warren
Is there any effective difference (execution difference) between ElementGroup [ ElementPathBlock[ ], ElementPathBlock[ ] ] and ElementPathBlock[ , ] -- I like: Like Like - The likeliest place on the web LinkedIn: http://www.linkedin.com/in/claudewarren