sophie.ramel-bqDqoxiz9wg@xxxxxxxxxxxxxxxx wrote:
Hi,
Thanks for the info.
Do you mean you also started to modify the schemabuilder classes?
Yes I have. I started in the quick and dirty way. Removing castor
(temporarily) and try to fix all compile errors in Eclipse.
I'm glad
to have asked on the list before doing too much work!
Do you plan to finish it yourself, or do you want me to help?
If you have the time.
If you want you can send me what you've already done, and I'll try to
complete it.
I can send you the files I have since I wont be able to work on it
comming week.
you mean the Schema2XForms builder API?. if so, i see no problem.
Yes, I speak of the "SchemaFormBuilder" interface, because I need to
access the controlType in some methods.
Sophie
Ronald van Kuijk <ronald-i7PTkw4H6JXk1uMJSBkQmQ@xxxxxxxxxxxxxxxx>
19/02/2004 20:56
To
sophie.ramel-bqDqoxiz9wg@xxxxxxxxxxxxxxxx
cc
chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
Subject
Re: [Chiba-developer] Xerces XMLSchema
sophie.ramel-bqDqoxiz9wg@xxxxxxxxxxxxxxxx wrote:
Hi,
I'm going to use the Xerces XMLSchema implementation for another part of
my project, so I'm beginning to transform the schemabuilder code, to use
Xerces instead of castor, as proposed in a previous mail.
I don't know yet if I'll need to change a lot of things in the
schemabuilder, it depends on how close the 2 APIs are.
Well, not to close. I've been looking into this as well the last couple
of days and found the following
- xerces2.6.0 with dom3 does not have an easy (one-method) access to
enummerations or form of the simple or complex typpes. 2.6.1 with dom3
support (currently beta) has.
- opening the schema is completely different. A lot (relatively) more
lines of code needed here
- The API itself differs a fair amount, but that can be done (i've
changend about 60% atm)
- There is no support for the ListType and AnyType that castor (and
others) have. This is the mayor difference. A lot of refactoring is
required here and that is where I stopped Monday due to other (job
related) issues.
- Getting to the annotations is also different in that you can only get
is as a string in the form:
<?xml....?>
<annotation>
<documentation>.....</documentation>
<document>......</documentation>
</annotation>
So you have to parse that separately again.
By the way, is it a problem if I slightly change the interface a little
more than necessary? I've noticed that to make a custom
SchemaFormBuilder, I'll perhaps need a few more parameters in some
methods (I need this to generate directly switchs & triggers for
optional elements...).
Agree with Joern here
Sophie
Ronald
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|