Dear Philippe,
Perhaps it would be better if an option would let the user decide which behaviour the BaseX XML parser should apply.
To go further, an adaptative behaviour would be usefull for widely-used XML languages, such as XHTML or Docbook:
<p>, <div>, and block-level elements : tokenize with that boundaries <b>, <i>, and other inline level elements: tokenize without that boundaries
...a good hint. Similar ideas were discussed, regarding a complete or partial indexing of the database, depending on certain elements. The main reason why have objected these ideas in the past was that we wanted to keep our user and programmer interface as simple as possible. However, this is all subject to change.
Regards, Christian
Cordialement,
/// (. .) --------ooO--(_)--Ooo-------- | Philippe Poulard | ----------------------------- http://reflex.gforge.inria.fr/ Have the RefleX !