[Yanel-dev] [Bug 5458] New: implement namespace normalization in
XMLSerializer
bugzilla-daemon at bugzilla.wyona.com
bugzilla-daemon at bugzilla.wyona.com
Wed Aug 15 12:45:07 CEST 2007
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5458
Summary: implement namespace normalization in XMLSerializer
Product: Yanel
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal (C)
Priority: P2
Component: General
AssignedTo: michael.wechner at wyona.org
ReportedBy: josias.thoeny at wyona.org
QAContact: yanel-development at wyona.com
Our XMLSerializer expects that an element in the SAX stream with a namespace
either has an attribute which declares this namespace (or one of the ancestors
has such an attribute).
AFAIK this is not required in a SAX stream, and apparently the default of the
Xerces XMLReader is to omit the namespace declaration attributes.
Therefore the serializer should take care of the namespaces and add the
namespace declaration attributes to the output.
see e.g.
http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/namespaces-algorithms.html#normalizeDocumentAlgo
http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Yanel-development
mailing list