...which it was.

Howver, by setting the option setLoadMessageDigest() on the XmlOptions object passed when parsing the XSD, the "type system name" became the same every time the types system was created so this seemed to fix the problem!
Could this be a bug or was this as expected?

Regards,
Håvard Nesvold


Radu Preotiuc-Pietro skrev:
In theory, the "type system name" (the part betwenn system/
and /index.xsb as you put it) is supposed to be the same for the same
set of input files. But you must be sure that it is really the same set
and the same content of all the files, without modification.

Radu

On Tue, 2008-07-22 at 00:51 -0700, "Håvard Nesvold" wrote:
Hi!

Every time i save a SchemaTypeSystem using the .save(Filer..) method,
for some files i seem to get different filenames even though the files
are generated from the exact same .xsds (i.e. the SHA-1 digests are
exactly the same for the types i keep parsing).

For example, the filer is sent the following filename:

schemaorg_apache_xmlbeans/system/s0158A65C33FC82B60A7D752CA5A94FC4/lodginghouseinformationrequesttype1e10type.xsb

And the part between the /system/ and /index.xsb is different each time
i generate a type system from a xsd, and then save it using this method.
What is the s0158A65C33FC82B60A7D752CA5A94FC4, and is there any way to
get this value to be the same each time these files are generated from
the exact same source?

Thanks ,

Håvard Nesvold


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



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


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

Reply via email to