cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: What hacks are going on in Cocoon?
Date Thu, 05 Jun 2003 22:34:08 GMT
The SAX events startElement, endElement, startPrefixMapping, 
endPrefixMapping in Xalan:

startPrefix [prefix: '', uri: ''
startElement[uri: '', localName: 'html', raw: 'html'

startPrefix [prefix: '', uri: ''
startElement[uri: '', localName: 'head', raw: 'head'

startPrefix [prefix: '', uri: ''
startElement[uri: '', localName: 'title', raw: 'title'
endElement  [uri: '', localName: 'title', raw: 'title'

endElement  [uri: '', localName: 'head', raw: 'head'

startPrefix [prefix: '', uri: 'http://www.w3.org/1999/xhtml'
startPrefix [prefix: 'i18n', uri: 'i18nnamespace'
startPrefix [prefix: '', uri: 'http://www.w3.org/1999/xhtml'
startPrefix [prefix: 'xhtml', uri: 'http://www.w3.org/1999/xhtml'
startElement[uri: '', localName: 'body', raw: 'body'

startPrefix [prefix: 'i18n', uri: 'i18nnamespace'
startPrefix [prefix: 'xhtml', uri: 'http://www.w3.org/1999/xhtml'
startPrefix [prefix: '', uri: 'http://www.w3.org/1999/xhtml'
startElement[uri: '', localName: 'test1', raw: 'test1'
endElement  [uri: 'http://www.w3.org/1999/xhtml', localName: 'test1', 
raw: 'test1'

startPrefix [prefix: 'xhtml', uri: 'http://www.w3.org/1999/xhtml'
startPrefix [prefix: 'i18n', uri: 'i18nnamespace'
startPrefix [prefix: '', uri: 'http://www.w3.org/1999/xhtml'
startPrefix [prefix: 'xhtml', uri: 'http://www.w3.org/1999/xhtml'
startElement[uri: '', localName: 'xhtml:div', raw: 'xhtml:div'
endElement  [uri: 'http://www.w3.org/1999/xhtml', localName: 'div', raw: 
'xhtml:div'

endElement  [uri: 'http://www.w3.org/1999/xhtml', localName: 'body', 
raw: 'body'

endElement  [uri: '', localName: 'html', raw: 'html'


result: heavy use of prefix mapping, no endPrefixMapping

Can this be improved in Cocoon or is it Xalan core?

Joerg


Mime
View raw message