[SensorML] SensorML 1.0.1: 'metadataGroup' Circular ReferenceException

Hsu-Chun Yu jamesyu at itri.org.tw
Mon Mar 9 08:18:32 EDT 2009


Hi all,

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.

James
=============================================
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


  Travis.

  

  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?

  

  Thanks.

  Mike Botts

  

  ********************************

  Dr. Mike Botts

  Principal Research Scientist

  University of Alabama in Huntsville

  http://vast.uah.edu

  

  mike.botts at uah.edu

  work: +01-256-961-7760

  cell: +01-256-652-0165

  ********************************

  

  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?

  

  Thank you!

  

  -Travis

  

  Travis K. Rennemann

  Chief Software Engineer

  Science Applications Int'l Corp. (SAIC)

  100 Rialto Place, Suite 200

  Melbourne, FL 32901

  Work: 321.751.3210

  Cell: 321.205.3850

  Fax: 321.757.7871

  



------------------------------------------------------------------------------


  _______________________________________________
  SensorML mailing list
  SensorML at lists.opengeospatial.org
  https://lists.opengeospatial.org/mailman/listinfo/sensorml


本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。
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...
URL: http://lists.opengeospatial.org/pipermail/sensorml/attachments/20090309/03402789/attachment.htm 


More information about the SensorML mailing list