Hi,
If I create a database with a file with [] in the name e.g. bracket[in]name.xml thenĀ 

/*/base-uri(.)
gives the error

[XQST0046] URI 'bracket[in]name/bracket[in]name.xml' is invalid.
Query:
/*/base-uri(.)

Is this correct behavior?

/Andy