Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] incorrect definitions in buildDefinitions.exsd ?

hi Leo,

 I've made some corrections to a local copy which I could submit back.
However, it looks like the PDE plugin manifest editor will revert some
of the corrections. I've raised a bug about this here
	https://bugs.eclipse.org/bugs/show_bug.cgi?id=98694

Other corrections to do with the content models would be preserved
however, so I'll try to submit a patch when I've reviewed the changes. 

thanks,
Andrew 
ps. The JAXB tool generates java classes that mirror the schema, so you
can then program against classes directly eg. write code like

	Tool t = ...
	t.setID("com.arm.mytool1");
	t.setName("ARM Tool 1");

and then serialize this to xml as appropriate. 

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Treggiari, Leo
Sent: 06 June 2005 15:43
To: CDT General developers list.
Subject: RE: [cdt-dev] incorrect definitions in buildDefinitions.exsd ?

Hi Andrew,

I'm afraid that we may not have any XML schema experts working on the
MBS definition - I know that I am not one.  You are correct that a Tool
can have multiple Option and OptionCategory children.

If you are willing to make corrections and submit a patch to cdt-patch,
we'll take a look at it.  We're approaching the CDT 3.0 feature freeze
and we're pretty busy, so depending upon when you provide your patch,
and how busy we are, it make or may not get applied to the CDT 3.0
release.

What do you with the schema after running it through the JAXB binding
compiler?  I'm not familiar with the tool.

Thanks,
Leo

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Andrew Ferguson
Sent: Monday, June 06, 2005 10:20 AM
To: CDT General developers list.
Subject: [cdt-dev] incorrect definitions in buildDefinitions.exsd ?

hi,

 I've been trying to run the buildDefinitions.exsd through the JAXB
binding compiler and come across a few issues

	(1) elements from the http://www.w3.org/2001/XMLSchema namespace
are not specified as such*
	(2) some markup has the wrong case (eg. there is an 'appinfo'
element defined in the above namespace but its used as 'appInfo')
	(3) some element content is incorrectly specified (?) - most
notably the "tool" element which only allows a single 'option' child tag
and a single 'optionCategory' child tag

I've corrected some of these on my local copy, but was hoping to confirm
that these are real issues in the schema rather than in my
understanding?

thanks,
Andrew
*this looks like it's a possible problem with the PDE schema writing
code as other plug-ins also omit these
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top