==Transfer Protocol==
The protocol below is compliant has been introduced with Version 6.3.1 of BaseX. Please note that the protocol for iterative query execution has changed a little, though: From Version 6.3.1 to 6.7.1 of BaseX, iterative queries could lead to deadlocks if query iterators were not properly closed. Since <font color='orangered'>Version 6.8</font> , the ITER command returns all results of BaseXa query in one go, and the iterative execution of clients is left to the client code.
===Syntax===
| <code>{</code>''start of response''<code>} \1 {error}</code>
|}
Please note that the protocol for iterative query execution has changed: From Version 6.3.1 to 6.7.1 of BaseX, iterative queries could lead to deadlocks if query iterators were not properly closed. Since Version 6.8, the ITER command returns all results of a query in one go, and the iterative execution of clients is left to the client code.
===Examples===