common parts for parseing RELAX Core/Namespace into AGM.