[ expat-Patches-584041 ] expat should check XML version attribute

noreply@sourceforge.net noreply@sourceforge.net
Sat Jul 20 08:36:02 2002


Patches item #584041, was opened at 2002-07-19 17:54
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=584041&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Håkan Waara (hwaara)
Assigned to: Nobody/Anonymous (nobody)
Summary: expat should check XML version attribute

Initial Comment:
In the XML spec it says that the parser may throw a 
parser error if the version is not "1.0" in the XML 
declaration. This is also what IE6 does.

Here's a patch for this. It was diffed against mozilla.org's 
expat version, but I hope it can still be applied.

Thanks,  -Håkan

----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2002-07-20 11:35

Message:
Logged In: YES 
user_id=290026

Thanks for the upload.

Now, the question is: Since it is not a requirement to
throw an error, but just optional behaviour, is there
a compelling reason to add this to Expat?

Karl

----------------------------------------------------------------------

Comment By: Håkan Waara (hwaara)
Date: 2002-07-20 10:21

Message:
Logged In: YES 
user_id=72743

Ok, now the patch is uploaded.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2002-07-20 09:22

Message:
Logged In: YES 
user_id=290026

There is no patch attached.

Karl

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=584041&group_id=10127