<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Techquila (Posts about XML)</title><link>http://techquila.com/</link><description></description><atom:link href="http://techquila.com/categories/xml.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Fri, 13 Mar 2020 13:15:27 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>RNG2SVG Update II</title><link>http://techquila.com/posts/2004/01/rng2svg-update-ii/</link><dc:creator>Kal Ahmed</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;A new update to the RELAX-NG to SVG stylesheets was uploaded today. This update provides new options to create a key for the SVG diagram. Keys can be either static (a fixed box displayed at the foot of the diagram) or animated (an SVG "button" which displays the key when clicked on).&lt;/p&gt;
&lt;p&gt;Read more on the stylesheets &lt;a href="http://www.techquila.com/rng-tools.html"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Grab the latest distribution (ZIP file) from &lt;a href="http://www.techquila.com/download/rng-tools/rng-svg-latest.zip"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><category>Techquila</category><category>XML</category><guid>http://techquila.com/posts/2004/01/rng2svg-update-ii/</guid><pubDate>Mon, 26 Jan 2004 21:07:25 GMT</pubDate></item><item><title>RNG2SVG Update</title><link>http://techquila.com/posts/2004/01/rng2svg-update/</link><dc:creator>Kal Ahmed</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;An update has been posted for the RELAX-NG to SVG stylesheets.&lt;/p&gt;
&lt;p&gt;The stylesheets now handle the anyName element for elements and attributes. The build file now handles the optional parameters better so start-names and start-patterns can be omitted from build.properties or from the Ant command-line.&lt;/p&gt;
&lt;p&gt;Download the update from &lt;a href="http://www.techquila.com/download/rng-tools/rng-svg-latest.zip"&gt;here&lt;/a&gt;. A sample output file (an SVG of the RELAX-NG schema) can be seen &lt;a href="http://www.techquila.com/download/rng-tools/relaxng.svg"&gt;here&lt;/a&gt; (SVG file - requires a plugin or viewer such as Apache Batik).&lt;/p&gt;
&lt;p&gt;An overview of the Techquila RELAX-NG tools is &lt;a href="http://techquila.com/rng-tools.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><category>Techquila</category><category>XML</category><guid>http://techquila.com/posts/2004/01/rng2svg-update/</guid><pubDate>Tue, 20 Jan 2004 22:02:15 GMT</pubDate></item><item><title>RELAX-NG Tools</title><link>http://techquila.com/posts/2004/01/relax-ng-tools/</link><dc:creator>Kal Ahmed</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Today sees the first release of a set of stylesheets for creating documentation and diagrams from &lt;a href="http://relaxng.org/"&gt;RELAX-NG&lt;/a&gt; schemas.&lt;/p&gt;
&lt;p&gt;The stylesheet rng2docbook.xsl does more or less what it says in the file name, creates a Docbook XML instance from a RELAX-NG schema. The stylesheet will document the content model and attributes of each element and each define in a RELAX-NG schema. Any documentation strings included in the default RELAX-NG documentation namespace will also appear in the Docbook output.&lt;/p&gt;
&lt;p&gt;The second set of stylesheets creates one or more SVG diagrams from a RELAX-NG schema. You can choose to have the whole schema in a single diagram or to have separate diagrams for specific elements and defines (or for all elements and/or defines).&lt;/p&gt;
&lt;p&gt;Read the full details on the stylesheets &lt;a href="http://www.techquila.com/rng-tools.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><category>Techquila</category><category>XML</category><guid>http://techquila.com/posts/2004/01/relax-ng-tools/</guid><pubDate>Mon, 19 Jan 2004 22:12:20 GMT</pubDate></item><item><title>How did we end up here ?</title><link>http://techquila.com/posts/2003/11/how-did-we-end-up-here/</link><dc:creator>Kal Ahmed</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Take a read through &lt;a href="http://lists.xml.org/archives/xml-dev/200311/msg00860.html"&gt;this interesting post&lt;/a&gt; on XML Dev. From bitter experience, I can second the assertion that to be sure that you have a valid WXS schema instance you need to validate with at least two parsers and preferably more. Worse still we have XML editors that, because they use one or the other of the common (broken) parsers or their own (usually broken) implementation, will reject valid instances or let you create invalid instances. How did we get here ?&lt;/p&gt;
&lt;p&gt;Not such a long time ago, XML was new. Lots of people wrote parsers, because it was an easy thing to do. Lots and lots of people used those parsers because many of them were open source and/or free. Bugs were found. Bugs were fixed. Now most people use one of a handful of XML parsers that, for DTD validation at least, are robust and reliable.&lt;/p&gt;
&lt;p&gt;W3C XML Schema has been a recommendation now for 2 and a half years. Some implementations are older than the recommendataion of course, but most are of the order of 2 years old. Why are there so many bugs ? Could it be that not as many people are using the tools (and so reporting the bugs) ? Possible, but not likely given that the W3C juggernaut is forcing even relatively sane people to use schemas in order to unbreak the mess that is Namespaces or because they need to user other standards that require schemas. So perhaps its because the developers of these tools aren't fixing bugs ? Have developers/software companies suddenly decided that parser bugs are "no big deal" - I find that hard to believe.&lt;/p&gt;
&lt;p&gt;More likely is that W3C XML Schemas are just too complex to implement. My guess is that there are no "little bugs" left in the parsers, just nasty, hard-to-fix, deep-in-the-code bugs. The sort of bugs you get from trying to implement a specification as impenetrable as the 3 part monster from the W3C.&lt;/p&gt;
&lt;p&gt;There is another way - RelaxNG and Schematron - now both under the wing of ISO in the &lt;a href="http://dsdl.org"&gt;DSDL work&lt;/a&gt;. Both have features that WXS does not. Both are much easier to understand and easier to write. The tools for these schema languages are, in my experience, robust and reliable. Of course, the reality is that WXS is here to stay and we have to deal with it - like it or not. But if you do have the luxury of a choice of schema languages, the practical programmer should take a good look at the tool sets available for these non-W3C languages and think hard before following the crowd.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><category>XML</category><guid>http://techquila.com/posts/2003/11/how-did-we-end-up-here/</guid><pubDate>Tue, 25 Nov 2003 10:53:58 GMT</pubDate></item></channel></rss>