Hi all,
I've written a DOM-based Transformer that subclasses AbstractDOMTransformer (ADT), and a fragment of the incoming XML data is being dropped. Here's a portion of the incoming XML:
<Request xmlns:session="http://apache.org/cocoon/session/1.0"> ... <AttributeValue>users/user1/roles.xml</AttributeValue> ... </Request>
The DOM document generated by the ADT is changing the value of the AttributeValue tag above to 'users/user1/', ie. it has stripped off the 'roles.xml' part.
I did some debugging through the source, and here are the SAX events that the ADT receives, starting at the AttributeValue tag:
startElement(): AttributeValue characters(): users/user1/ setDocumentLocator() characters(): roles.xml endElement(): AttributeValue
Anyone know what's going on here?
No :)
Is there some restriction around embedding XML file names in XML?
Of course not.
Or is there some limitation or bug involved here?
As you can see there is a function call that should not be there (setDocumentLocator()). In which way the SAX events are generated?
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]