Closed Empact closed 15 years ago
This may already work with some syntax. If so it should be documented.
Since upgading libxml-ruby to 1.1.3 and roxml to 2.5.3, I can't reproduce the segfault anymore and the xml_accessor attributes I guessed at seem to work as expected.
Looks like it fixed itself :)
It seems I was a little hasty closing this bug, I found some issues that warrant it staying open when I investigated further. It seems I can't reopen it though.
I've got some ideas for improved namespace support that I'll flesh out over the weekend.
Reopened
I've finally done some work on namespaces. See the xml_namespaces method, and the xml_attr :namespace option. See also spec/xml/namespace_spec.rb.
Let me know if that does it for you.
Switch that: reopen if it's still a problem.
Reported by James Healy:
I'm trying to generate an XML that has a root element like so: