<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>non-random ramble &#187; xsd</title>
	<atom:link href="http://jimbarritt.com/non-random/category/code/xsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://jimbarritt.com/non-random</link>
	<description>adventures in code</description>
	<lastBuildDate>Fri, 23 Jul 2010 13:42:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The matching wildcard is strict, but no declaration can be found</title>
		<link>http://jimbarritt.com/non-random/2009/11/20/the-matching-wildcard-is-strict-but-no-declaration-can-be-found/</link>
		<comments>http://jimbarritt.com/non-random/2009/11/20/the-matching-wildcard-is-strict-but-no-declaration-can-be-found/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:43:07 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[xml]]></category>
		<category><![CDATA[xsd]]></category>

		<guid isPermaLink="false">http://jimbarritt.com/non-random/?p=303</guid>
		<description><![CDATA[I&#8217;ve just painfully bruised my brain against this error message when trying to validate an xml against its schema. The problem is that it is hiding what is really going on, which is that it could not match the namespace uri in the schema document to the one in my xml document. The xml: &#60;?xml [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just painfully bruised my brain against this error message when trying to validate an xml against its schema.</p>
<p>The problem is that it is hiding what is really going on, which is that it could not match the namespace uri in the schema document to the one in my xml document.</p>
<p>The xml:</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:h="http://some.custom.schema">

    &lt;title>/v2/people/facebook.com/@self&lt;/title>
    &lt;updated>2003-12-13T18:30:02Z&lt;/updated>

    &lt;h:callId>b702ae86-b07f-4e2f-b49f-27d1a79b7783&lt;/h>
&lt;/feed>
</pre>
<p>The xsd</p>
<pre>
&lt;xs:schema elementFormDefault="qualified"
                      targetNamespace="http://some.target.namespace.which.does.not.match"
                      xmlns="http://some.target.namespace.which.does.not.match"
                      xmlns:xs="http://www.w3.org/2001/XMLSchema">
&lt;/xs>
</pre>
<p>Check it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2009/11/20/the-matching-wildcard-is-strict-but-no-declaration-can-be-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Output XSD Schema From XSLT Transformation</title>
		<link>http://jimbarritt.com/non-random/2006/03/21/output-xsd-schema-from-xslt-transformation/</link>
		<comments>http://jimbarritt.com/non-random/2006/03/21/output-xsd-schema-from-xslt-transformation/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 22:30:37 +0000</pubDate>
		<dc:creator>Jim Barritt</dc:creator>
				<category><![CDATA[xml]]></category>
		<category><![CDATA[xsd]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.planet-ix.com/non-random/2006/03/21/output-xsd-schema-from-xslt-transformation/</guid>
		<description><![CDATA[Well i needed to know how to generate a schema from XSLT which means you need to output the first line of the schema definition which wasnt too intuitive so here is the result: hmmm &#8211; cant paste it in here &#8211; see attatched file!! XSLT Transformation to Generate an XSD schema Ok it was [...]]]></description>
			<content:encoded><![CDATA[<p>Well i needed to know how to generate a schema from XSLT which means you need to output the first line of the schema definition which wasnt too intuitive so here is the result:</p>
<p>hmmm &#8211; cant paste it in here &#8211; see attatched file!!</p>
<p><a href="http://jimbarritt.com/non-random/wp-content/uploads/2006/03/generate_schema_xsd.txt">XSLT Transformation to Generate an XSD schema</a></p>
<p>Ok it was MUCH simpler than i thought of course! you simply type in the whole thing into the xslt and it just prints it out! so you dont need to use xs element at all doh!</p>
]]></content:encoded>
			<wfw:commentRss>http://jimbarritt.com/non-random/2006/03/21/output-xsd-schema-from-xslt-transformation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
