Many thanks to D.Shawley for pointing out the right section in JSR 222. Here is final solution which might be helpful and time saving for someone else.
Original schema must be transformed as follows:
Transformation can be easily performed via org.w3c.dom.Document inteface.