Hi José,
Am 12.05.2011 um 02:22 schrieb José Angel templerioinmortal@gmail.com:
First: Which file describes the grammar of XQuery in BaseX?. Im trying to extend it and i need to modify the grammar.
The grammar is mostly defined in QueryParser.java, but...
Second: I created a new type called xs:truth, i need to modify the casting rules from this type with other types like xs:boolean or xs:decimal, which files should i modify for this?
...maybe you should try to abstract this behavior via pure xquery functions anyway. Changing core language features/semantics directly in Java might lead to undesired side effects and break compatibility with our source base. Maybe you could elaborate a little on what exactly you are working on.
Kind regards Michael