Jan Les writes:
> Thank you very much for your explanation. I agree that Buzilla should not
> be used for lengthy discussions and opening/reopening of the bugs.
>
> I have tested Crimson and Oracle parser to see how they handle this
> problem. In both cases I have got error with a clear error message saying
> that document must start with the XML declaration.
>
> Thanks again,
> Jan

I wonder what it says for:

"
<?XML HELLO THERE?>
"

or

"
<?xml hello there?>
"

or

"<?xml version='1.0'?>
<?xml version='1.0'?>
"

or

"<?xml version='1.0'?>
<?xml hello there?>
"

or

"<!-- this is first -->
<?xml hello there?>
"

etc., etc.

The answers reflect how complex the code would need to be to special case
the parsing of processing instructions to track all of the places where
you would say that the markup is a misplaced XML declaration instead of
a processing instruction with an invalid PI target.

I have reincluded the developers list since in all fairness this is a
community developed technology and I for one would appreciate hearing
how others feel about this issue.

Regards,
Glenn




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to