[racket] sxml behavior: is this a bug?
On Tue, Feb 12, 2013 at 11:48 PM, John Clements
<clements at brinckerhoff.org> wrote:
> The sxml package has some strange behavior on DAGs. Before I go and try to fix it (or at least put a warning in the docs), I want to make sure it's a bug.
I believe this is not a bug, because of assumptions by sxml. sxml
does not appear to allow any sharing of structure, if I'm reading the
specification correctly:
http://en.wikipedia.org/wiki/SXML#SXML_Specification
The sentence: "Every child is unique; items never share their children
even if the latter have the identical content."
applies here. It sounds like SXML is not DAG-like: it truly needs to
be tree-like.