How to Parse XML without using DOM or SAX Parser in Java?
First of all, parsing XML by hand is nothing but inviting bugs and gotchas!. Since you must do it without standard parsers and want a tailor-made parsing for a specific XML, here is something you could do to get rid of unreadable code(at least). Now, talking about O(1) space complexity. Assumption is that the XML … Read more