Update PraserState.java

Issue #26: XMLParser doesn't read Binary content from XML. Binary content is discarded during xml parsing, because attribute check of ID is missing in BinaryResourceState.attributeValue(...)
Merge pull request #28 from Cloudyle/issue-#26

Thanks for the submission! Looks good to me.