Details
-
Type:
Wish
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
If I write anything before calling XMLStreamWriter.writeStartDocument, Woodstox complains:
javax.xml.stream.XMLStreamException: Trying to output non-whitespace characters outside main element tree (in prolog or epilog)
This prevents me from using Woodstox to output XML fragments (i.e. small pieces of XML without a prolog), e.g. in custom JSP tags.