DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15911>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15911

HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.





------- Additional Comments From [EMAIL PROTECTED]  2003-01-09 16:00 -------
This is almost certainly a usage error rather than a Xalan malfunction.

When outputting to a DOMResult, the generated structure *must* be a well-formed 
XML document (or, if the DOMResult is wrapped around a DocumentFragment node, a 
well-formed document fragment). If you don't follow those rules -- for example, 
if you try to write a text node at the top level of a Document, or have multiple 
root elements -- the DOM implementation will detect your mistake and throw a 
HIERARCHY_REQUEST_ERR DOMException.

You might want to try outputting to a SAXResult or StreamResult, examine that, 
and consider whether it's really well-formed. If you can't find it, post small 
sample files that demonstrate the problem and we'll check it out.

Reply via email to