[jdom-interest] XMLOutputter & null pointer exception.

Wesley Biggs wbiggs at elite.com
Wed Aug 16 10:02:40 PDT 2000

Now let's decide what we want long term.  What should getText() and
getMixedContent() return for all these?

	------------> ""
      ------------> ""
      ------------> ""
      Should be an error, or if we enable schema support, should generate
xsl:null="true" attribute.

XML specs state that <empty/> is semantically equivalent to <empty></empty>,
which means both represent the empty string.  There is no way, short of
metasemantics like xsl:null, to represent a null case in XML.


More information about the jdom-interest mailing list