SAX support for XML 1.1

Hi againI was searching for a method like setVersion(1.1) on the SAX parser, but I couldn't find any.Does anyone know if SAX supports 1.1, and if so then how? Or did I not find it because it doesn't exist..?
[230 byte] By [deanat78a] at [2007-11-26 19:05:24]
# 1
I don't think it does. I don't think anything supports XML 1.1 except maybe some obscure specialized software. Read this article from 2 years ago by somebody who understands XML very well: http://norman.walsh.name/2004/09/30/xml11
DrClapa at 2007-7-9 20:55:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Actually, the SAX and StAX parsers in JAXP 1.4 support XML 1.1. XML 1.1 must have a version attribute in the XML declaration, so both parsers can detect this automatically. JAXP 1.4 is part of JDK 6, but you can also download it from https://jaxp.dev.java.net and install it on top of JDK 5 using the endorsed mechanism. If you have any questions, you can use the users@jaxp.dev.java.net mailing list. Hope this helps.

spericasa at 2007-7-9 20:55:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
thanks, it does help to know that if the document has a version 1.1, it can still be parsed. Thank you!
deanat78a at 2007-7-9 20:55:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

> Actually, the SAX and StAX parsers in JAXP 1.4 support XML 1.1.

Well, that's interesting to know. I was under the impression that XML 1.1 had been released and completely ignored by users of XML, since I hadn't read a single thing about it for about two years.

And I must say this idea of people from Sun who actually know what the hell they are talking about coming here and answering questions is a considerable improvement.

DrClapa at 2007-7-9 20:55:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...