Andy Clark wrote: > However, it > would be nice to have a setting that allows people > to make Xerces strictly enforce a specific version > over another. >
If somebody really wants this he/she can always have his/her own configuration I suppose. But I don't see any use case for this so I wouldn't spend resources on this.
What might be useful is a convenience function that lets the user know what version needs to be used. Ideally you'd like the implementation to set it automatically for you but it requires walking through the whole document which works for DOM but not for SAX.
The way I understand our current serializer work is that it lets the user specify what version to output and if the document contains characters that don't match an error is raised during serialization.
One strategy for the application that wants to handle all documents would then be to try 1.0 first and on error re-try with 1.1. However, if you're sending the bits on the wire as you serialize this can be expensive or even damaging. So, applications may find cheaper to always produce 1.1 documents. I guess it really depends on the application...
--
Arnaud Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
