Hemligt Namn wrote:
Dear Xalan developers,

I believe there is a bug in the NamedNodeMapAttributeList constructor: an assertion fails if the attribute map is empty.

The assertion prevents me from serializing this to XML:
<page>
  <paragraph>
  </paragraph>
</page>

Please find below excerpts from the relevant source code, a stack trace, a patch, example code that triggers the assertion.
I put the assertion in because the rest of the logic will fail if the attribute list is empty. I think I need to just fix the other logic.

Can you open a Jira issue a attach an archive with the necessary inputs to reproduce the problem?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to