When registering an XSD to oracle with dbms_xmlschema.registerSchema I got the strange error

LPX-00209: PI names starting with XML are reserved

This error occured because I had a leading CR in front (from copy/paste importing). Just removed it and everything was fine.