cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject DOMStreamer DOM 1 support?
Date Tue, 11 Mar 2003 06:37:46 GMT
Probably a question for Bruno..

The NamespaceNormalizingDOMStreamer doesn't support DOM 1 nodes, which
means that any code using, say, 'setAttribute' instead of
'setAttributeNS' causes cryptic errors like:

  Failed to execute pipeline.: org.xml.sax.SAXException:
  [NamespaceNormalizingDOMStreamer] Encountered an attribute without a
  local name, this DOM streamer does not support that.

I haven't looked closely, but is there some reason why
NamespaceNormalizingDOMStreamer couldn't stream DOM 1 nodes as well as
DOM 2?  Otherwise, this is going to be a major break of binary
compatibility with 2.0.


--Jeff


Mime
View raw message