| I would SAX 'start element' event's attributes always expect to have qName
equal to localName for simple, unprefixed XML tags. But that seems not to be
true for betwixt output and breaks my application completely.
For the debugging output to STDOUT I would expect output like:
XML: start document event
XML: start element qName 'test-class', localName 'test-class', URI:
- Attribute qName 'test-prop-1', localName 'test-prop-1' of CDATA: abc
- Attribute qName 'test-prop-2', localName 'test-prop-2' of CDATA: 12
- Attribute qName 'id', localName 'id' of ID: 1
XML: end element 'test-class'
XML: end document event
but I get (the attributes local names differ from the qnames):
XML: start document event
XML: start element qName 'test-class', localName 'test-class', URI:
- Attribute qName 'test-prop-1', localName 'testPropertyOne' of CDATA: abc
got only the first two lines here beacuase assertEquals fails there.
author: Christoph Gaffga, cgaffga@triplemind.com |