cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] bug in DOMBuilder stuff
Date Mon, 23 Apr 2001 01:37:31 GMT
heya. i was just dusting off the xinclude transformer to try to compare it
to the sitemap aggregation features. anyway, i tried it out on an xinclude
with an embedded xpath expression and i got this:

mentorg.w3c.dom.DOMException: DOM001 Modification not allowed
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:969)
at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:
66)        at
org.apache.cocoon.transformation.XIncludeTransformer.processXIncludeE
lement(XIncludeTransformer.java:252)
        at
org.apache.cocoon.transformation.XIncludeTransformer.startElement(XIncludeTransformer.java:129)
        at
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:90)

the relevant snippet of code is:

  DOMBuilder builder = new DOMBuilder(parser);
  parser.setContentHandler(builder);
  parser.setLexicalHandler(builder);
  parser.parse(input);

anyone got an idea why this fails now?

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message