# HG changeset patch # User osimons # Date 1248484170 0 # Node ID ba53929c8652f08c4c8a4fac81ab3710059d8c27 # Parent 0ac21e3343a48ad3683274976fcb0334478b7220 0.6dev: Added some documentation about XML quoting in recipes (attributes), closing #360. diff --git a/doc/recipes.txt b/doc/recipes.txt --- a/doc/recipes.txt +++ b/doc/recipes.txt @@ -66,3 +66,20 @@ available by default. .. _`build recipe commands`: commands.html + +As the recipe needs to be valid XML, any reserved characters in attributes must +be quoted using regular XML entities: + ++-----------+------------+ +| Character | Quoted | ++===========+============+ +| ``"`` | ``"`` | ++-----------+------------+ +| ``<`` | ``<`` | ++-----------+------------+ +| ``>`` | ``>`` | ++-----------+------------+ +| ``&`` | ``&`` | ++-----------+------------+ +| ``'`` | ``'`` | ++-----------+------------+