[
https://issues.apache.org/jira/browse/XERCESC-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002969#comment-13002969
]
Boris Kolpackov commented on XERCESC-1959:
------------------------------------------
Daniel, I agree the current implementation is not ideal so if you would like to
come up with a patch, then that would be very welcome.
David, regarding backwards compatibility, there is a format version number
stored with the binary representation. Now, the problem is that the version
itself is stored in a non-portable manner. Luckily it is always 32-bit
(unsigned int) so we can write 0xFFFFFFFF there for the new format which will
make sure that any previous version (regardless of the endianness) will not
compare equal.
> serializeGrammars does not work between 32 and 64 bit systems
> -------------------------------------------------------------
>
> Key: XERCESC-1959
> URL: https://issues.apache.org/jira/browse/XERCESC-1959
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 3.1.1
> Environment: Win Vista 32 bit + VS 2010 express, Xerces-C 3.1.1 binary
> Ubuntu 10.10 64 bit, Xerces-C 3.1 installed
> Reporter: Daniel Turcanu
>
> Serialization of schema grammar does not work between Windows 32 and Linux 64
> bit. Serializing on one machine (with serializeGrammars) and deserializing on
> the other (with deserializeGrammars) fails ungracefully.
> Serializing and deserializing on the same machine works fine.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]