You must write a parser using the SAX library. How to implement a record of single self-closing tags, such as
<property name="sessionFactory"/> Using 'getStartElement ()', I get.
<property name="sessionFactory"></property> Is it, in general, possible to distinguish paired and non-direct tags by means of this library?
SAXwithout extensions, you will not find this situation. - Temka also