The option emitEmpty cause sax to emit cdata and comment events even if the respective constructs were empty in the XML.
Prior to this commit, sax does not emit cdata or comment events if the respective constructs are empty in the XML. Some projects need to know that a CDATA section or a comment was present in the XML even though they were empty.
The default is false so this changes behavior only for those who explicitly use it.
The option
emitEmpty
cause sax to emitcdata
andcomment
events even if the respective constructs were empty in the XML.Prior to this commit, sax does not emit
cdata
orcomment
events if the respective constructs are empty in the XML. Some projects need to know that a CDATA section or a comment was present in the XML even though they were empty.The default is
false
so this changes behavior only for those who explicitly use it.