I am trying to Parse an xml which is containing — and ’ numeric character references. On parsing it gives me output as "?". it is not only these two, any HTML/XMl numeric character references in the xml creates this issue. only pre-defined entities are getting accepted by the saxparser
i use defaulthandler saxparser. system out in character method shows me a question mark for the numeric character references.
i did lot of googling, everywhere i see that usage of numberic character refernce should not create any issue.
Any help?