On Fri, 2003-06-06 at 00:09, Joerg Heinicke wrote:
[...]
> Logging of element sax events:
> 
> startElement[
> uri: '', localName:'xhtml:div', raw:'xhtml:div']
> endElement[
> uri:'http://www.w3.org/1999/xhtml', localName:'div', raw:'xhtml:div']
> 

if these are corresponding start and end element events, then this is
obviously wrong.

> And using XSLTC:
> no exception.
> output:
[...]
> element sax events:
> 
> startElement[uri: '', localName: 'xhtml:test1', raw: 'xhtml:test1']
> endElement  [uri: '', localName: 'xhtml:test1', raw: 'xhtml:test1']
> startElement[uri: '', localName: 'ns0:test2',   raw: 'ns0:test2']
> endElement  [uri: '', localName: 'ns0:test2',   raw: 'ns0:test2']
> startElement[uri: '', localName: 'test3:test3', raw: 'test3:test3']
> endElement  [uri: '', localName: 'test3:test3', raw: 'test3:test3']
> startElement[uri: '', localName: 'xhtml:div',   raw: 'xhtml:div']
> endElement  [uri: '', localName: 'xhtml:div',   raw: 'xhtml:div']
> 

In a namespace-aware environment, this certainly isn't allowed either.
For more background see also
http://www.saxproject.org/?selected=namespaces

If you put the loggingtransformer right behind the xslt transformer,
then these are problems with xalan.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]

Reply via email to