[xsd-users] Too many anonymous types

Boris Kolpackov boris at codesynthesis.com
Thu May 22 13:13:40 EDT 2008


Hi Brian,

Brian Young ARA/CFD <byoung at ara.com> writes:

> I attempted your suggestion already, also to no avail. The XSD compiler
> ran for a very long time, and then claimed to complete successfully,
> however, it didn't produce any code (note I used this in conjunction
> with -extern-xml-schema, let me know if this is a problem). Not sure
> what happened there...

Hm, this should work. The --extern-xml-schema option is ok, it is
--generate-xml-schema that you cannot use with --file-per-type, about
which you get diagnostics.

Can you try to use the same options on the test schema that you sent
in your previous email. If XSD does not produce any code either, I
would like to see how you compile things.


> I have considered your first suggestion as well, just wanted to make
> sure what I'm after couldn't be accomplished with --anonymous-regex
> first. I was considering going a scripting/text replacement route, but
> your xerces option is probably. I would love some help getting going, if
> it wouldn't take long for you produce. One drawback may be that the
> schema I working with is sensitive. So I wouldn't be able to send you
> the test case.

Ok, I will try to sketch something up tomorrow. Though I would like to
find out why --file-per-type does not work on your schema. BTW, is it
just one big file or does it use include/import?

Boris




More information about the xsd-users mailing list