cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JACOB, ERIC" <eric.ja...@bell.ca>
Subject AbstractSAXTransformer XML Recording Question
Date Fri, 17 Sep 2004 16:16:10 GMT
Hi,

I have an XML file that looks like the following:

<abc:root xmlns:abc="http://abc">
  .
  <abc:fragment>
    <xyz:test xmlns:xyz="http://xyz">
      .
    </xyz:test>
  </abc:fragment>
</abc:root>

I want to use startSerializedXMLRecording and endSerializedXMLRecording to
record the xml inside the fragment element.

But here what I get:

    <xyz:test>
      .
    </xyz:test>

The xmlns is stripped and I get this error:
org.apache.cocoon.ProcessingException: The prefix "xyz" for element
"xyz:test" is not bound

How I could avoid that? this.namespaceURI is set to xmlns:abc="http://abc".

Thanks,

Eric Jacob




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


Mime
View raw message