Perhaps the simplest way to deal with this is to leave roots _out_ of the
XSchema PI. I always thought it was kind of silly to declare it in DOCTYPE -
after all, the root element should be the first and last thing you see in a
document, and an application should be able to figure it out. It seems to me
like redundancy, though there may be reasons for it which I haven't fathomed.
The other reason for ignoring roots is that we _can't_ change DOCTYPE, so I
think we'd better just stay out of its way.
Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies