[SensorML] SensorML 1.0.1: 'metadataGroup' Circular ReferenceException
jamesyu at itri.org.tw
Mon Mar 9 08:18:32 EDT 2009
We had faced the same problem and we have to manually comment out the schema elements causing circular reference, run the Microsoft .Net xsd.exe tool to transform schema into C# classes, and then construct the classes of the commented schema elements. It's a tedious work.
An alternative approach is using the XMLSpy software (enterprise version) to do the job. But since the generated classes are too complicated, we did not adopt the approach.
Hsu-Chun James Yu
Internet Platform Architecture Department,
Information and Communications Research Laboratories,
Industrial Technology Research Institute, Taiwan
----- Original Message -----
From: Mike Botts
To: 'Rennemann, Travis K.' ; mike.botts at nsstc.uah.edu ; SensorML Forum
Cc: 'Heidt, Christopher M.' ; 'Carswell,Erika A.'
Sent: Thursday, March 05, 2009 7:13 AM
Subject: Re: [SensorML] SensorML 1.0.1: 'metadataGroup' Circular ReferenceException
This has come up before on the SensorML Forum but I forgot the solution. You’re right that the schema are valid but it’s a fluke of some for the XML engines.
Can somebody repost the solution to this?
Dr. Mike Botts
Principal Research Scientist
University of Alabama in Huntsville
mike.botts at uah.edu
From: Rennemann, Travis K. [mailto:TRAVIS.K.RENNEMANN at saic.com]
Sent: Wednesday, March 04, 2009 10:13 AM
To: mike.botts at nsstc.uah.edu
Cc: Carswell, Erika A.; Heidt, Christopher M.
Subject: SensorML 1.0.1: 'metadataGroup' Circular Reference Exception
Hello Dr. Botts,
We have a problem with creating a .NET service reference to the SOS. We get an exception reporting that SensorML has a ‘metadataGroup’ circular reference; which the Microsoft XML parser perceives as invalid. Obviously you have a valid XML schema, but Microsoft doesn’t like it. Do you have a workaround or schema solution that addresses the incompatibility?
Travis K. Rennemann
Chief Software Engineer
Science Applications Int'l Corp. (SAIC)
100 Rialto Place, Suite 200
Melbourne, FL 32901
SensorML mailing list
SensorML at lists.opengeospatial.org
This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SensorML