<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Importing the GML 3.2.1 namespace into .NET</title>
	<atom:link href="http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/</link>
	<description>researching VGI</description>
	<lastBuildDate>Fri, 06 Nov 2009 13:48:29 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Manchild</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-99</link>
		<dc:creator>Manchild</dc:creator>
		<pubDate>Wed, 24 Jun 2009 09:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-99</guid>
		<description>Ever consider using LINQ-To-XSD to generate said GML 3.2.1?
I&#039;ve done it,and works great!
Only hurdle on the way was the fact that although each of the official OPENGIS schemas are &#039;normative&#039; by themselves,but not they don&#039;t add up to a &#039;normative&#039; schemaCollection.
This misshap although well documented by the Consortium in the release docs,echoes into the compilation-process and of course ... no API.
But I&#039;ve found that the isssue lies in their use of &#039;non-normative use of the xsd:include mechanism.
So I then just copied&amp;pasted all 23 xsd&#039;s content into 1 unfied xsd schema element,and &#039;&quot;fanny&#039;s-y&#039;r-uncle,&#039;fanny&#039;s-y&#039;r-aunt&quot; ... she works fine.
enjoy!</description>
		<content:encoded><![CDATA[<p>Ever consider using LINQ-To-XSD to generate said GML 3.2.1?<br />
I&#8217;ve done it,and works great!<br />
Only hurdle on the way was the fact that although each of the official OPENGIS schemas are &#8216;normative&#8217; by themselves,but not they don&#8217;t add up to a &#8216;normative&#8217; schemaCollection.<br />
This misshap although well documented by the Consortium in the release docs,echoes into the compilation-process and of course &#8230; no API.<br />
But I&#8217;ve found that the isssue lies in their use of &#8216;non-normative use of the xsd:include mechanism.<br />
So I then just copied&amp;pasted all 23 xsd&#8217;s content into 1 unfied xsd schema element,and &#8216;&#8221;fanny&#8217;s-y&#8217;r-uncle,&#8217;fanny&#8217;s-y&#8217;r-aunt&#8221; &#8230; she works fine.<br />
enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yaron Naveh</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-94</link>
		<dc:creator>Yaron Naveh</dc:creator>
		<pubDate>Fri, 17 Apr 2009 21:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-94</guid>
		<description>There is a solution for this:

http://webservices20.blogspot.com/2009/04/opengis-with-net-20-and-wcf.html</description>
		<content:encoded><![CDATA[<p>There is a solution for this:</p>
<p><a href="http://webservices20.blogspot.com/2009/04/opengis-with-net-20-and-wcf.html" rel="nofollow">http://webservices20.blogspot.com/2009/04/opengis-with-net-20-and-wcf.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn van Exel</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-81</link>
		<dc:creator>Martijn van Exel</dc:creator>
		<pubDate>Sun, 27 Jul 2008 11:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-81</guid>
		<description>Nope, haven&#039;t had any time nor the need to work on it further. Anyone else got any brilliant solutions lying around, don&#039;t hesitate to post.</description>
		<content:encoded><![CDATA[<p>Nope, haven&#8217;t had any time nor the need to work on it further. Anyone else got any brilliant solutions lying around, don&#8217;t hesitate to post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-78</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 16 Jul 2008 20:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-78</guid>
		<description>Have you made any progress deserializing gml?</description>
		<content:encoded><![CDATA[<p>Have you made any progress deserializing gml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-75</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 26 Jun 2008 13:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-75</guid>
		<description>So... did you ever get anywhere with this. I am having the same issue. It seems this should be like a &quot;once and for all&quot; kind of thing.</description>
		<content:encoded><![CDATA[<p>So&#8230; did you ever get anywhere with this. I am having the same issue. It seems this should be like a &#8220;once and for all&#8221; kind of thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mvexel</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-62</link>
		<dc:creator>mvexel</dc:creator>
		<pubDate>Tue, 20 May 2008 15:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-62</guid>
		<description>Brian, thanks for that. It was indeed the first thing I ran into when I tried to deserialize some sample GML using the generated class code. Sorry for the delay, your reaction ended up in my spam queue.</description>
		<content:encoded><![CDATA[<p>Brian, thanks for that. It was indeed the first thing I ran into when I tried to deserialize some sample GML using the generated class code. Sorry for the delay, your reaction ended up in my spam queue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-30</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 05 May 2008 21:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-30</guid>
		<description>I am also working with GML and .Net.  Another potential pitfall with .Net (xsd.exe) and GML is the use of the xsd:list element by GML (gml:doubleList, gml:integerList).  xsd.exe can&#039;t properly handle these lists when defined inside of elements (See gml:DirectPositionType or gml:pos)  You won&#039;t get any error when creating the classes but you will at runtime with something like this

System.InvalidOperationException: There was an error reflecting Type &#039;DirectPostitionType&#039;. ---&gt; System.InvalidOperationException: There was an error reflecting field &#039;Text&#039;. ---&gt; System.InvalidOperationException: Member &#039;Text&#039; cannot be encoded using the XmlText attribute

I have not come up with a solution yet (short of hand coding the relevant classes or hacking GML yucky)

Here are some relevant links on MSDN for .Net 3.5, 3.0, and 2.0
http://msdn.microsoft.com/en-us/library/t84dzyst.aspx
http://msdn.microsoft.com/en-us/library/t84dzyst(VS.85).aspx
http://msdn.microsoft.com/en-us/library/t84dzyst(VS.80).aspx</description>
		<content:encoded><![CDATA[<p>I am also working with GML and .Net.  Another potential pitfall with .Net (xsd.exe) and GML is the use of the xsd:list element by GML (gml:doubleList, gml:integerList).  xsd.exe can&#8217;t properly handle these lists when defined inside of elements (See gml:DirectPositionType or gml:pos)  You won&#8217;t get any error when creating the classes but you will at runtime with something like this</p>
<p>System.InvalidOperationException: There was an error reflecting Type &#8216;DirectPostitionType&#8217;. &#8212;&gt; System.InvalidOperationException: There was an error reflecting field &#8216;Text&#8217;. &#8212;&gt; System.InvalidOperationException: Member &#8216;Text&#8217; cannot be encoded using the XmlText attribute</p>
<p>I have not come up with a solution yet (short of hand coding the relevant classes or hacking GML yucky)</p>
<p>Here are some relevant links on MSDN for .Net 3.5, 3.0, and 2.0<br />
<a href="http://msdn.microsoft.com/en-us/library/t84dzyst.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/t84dzyst.aspx</a><br />
<a href="http://msdn.microsoft.com/en-us/library/t84dzyst(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/t84dzyst(VS.85).aspx</a><br />
<a href="http://msdn.microsoft.com/en-us/library/t84dzyst(VS.80).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/t84dzyst(VS.80).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mvexel</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-28</link>
		<dc:creator>mvexel</dc:creator>
		<pubDate>Mon, 05 May 2008 06:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-28</guid>
		<description>Johannes,

I will, possibly soon. Stay tuned.</description>
		<content:encoded><![CDATA[<p>Johannes,</p>
<p>I will, possibly soon. Stay tuned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://oegeo.wordpress.com/2008/04/10/importing-the-gml-321-namespace-into-net/#comment-22</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Sun, 04 May 2008 11:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://oegeo.wordpress.com/?p=38#comment-22</guid>
		<description>Hi Martijn ,
im eager to knwo how it went on! please blog :-)

cheers, Johannes</description>
		<content:encoded><![CDATA[<p>Hi Martijn ,<br />
im eager to knwo how it went on! please blog <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>cheers, Johannes</p>
]]></content:encoded>
	</item>
</channel>
</rss>
