<?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>Notes from the mousepad &#187; Bugs</title>
	<atom:link href="http://j1m.net/category/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://j1m.net</link>
	<description>user help, free and open source</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:48:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RelaxNG, Entities, and Namespaces</title>
		<link>http://j1m.net/2010/12/19/relaxng-entities-and-namespaces/</link>
		<comments>http://j1m.net/2010/12/19/relaxng-entities-and-namespaces/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 16:32:19 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[DocBook]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Entities]]></category>
		<category><![CDATA[Mallard]]></category>
		<category><![CDATA[Namespaces]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://j1m.net/?p=389</guid>
		<description><![CDATA[I ran into a couple of roadblocks in trying to use entities with Mallard recently, and thought I would share how I worked around them in case anyone else needed to do the same thing. Although my examples deal with Mallard, what I note here will also work for entities in DocBook 5 documents, or [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://j1m.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>I ran into a couple of roadblocks in trying to use entities with Mallard recently, and thought I would share how I worked around them in case anyone else needed to do the same thing.  Although my examples deal with Mallard, what I note here will also work for entities in DocBook 5 documents, or any other RelaxNG-based XML documents.</p>
<h2>Entities?</h2>
<p>Before I start, though, if anyone is wondering what I&#8217;m talking about when I say, &#8220;entities,&#8221; they are a handy variable-like feature of XML and a couple of other markup languages. For example, they allow you to type something like <code>&amp;exaile;</code> into your document, and then have it magically parsed as:<br />
<code><pre class="brush: xml">&lt;guiseq&gt;&lt;gui&gt;Applications&lt;/gui&gt;&lt;gui&gt;Multimedia&lt;/gui&gt;&lt;gui&gt;Exaile&lt;/gui&gt;&lt;guiseq&gt;</pre></code><br />
The final, rendered result would be a familiar GUI click-path like, <code>"Click Applications &gt; Multimedia &gt; Exaile."</code> While entities have their limitations and are not ideal for all use-cases, they serve a purpose. <a href="http://www.ibm.com/developerworks/xml/library/x-entities/">This web page</a> gives a good overview of entities and how to use them.</p>
<h2>Using Entities in Mallard / RelaxNG documents</h2>
<p>To set up and use entities in your XML-based document, you basically need three things.  You need a file that contains the entities you want to use*, you need to declare where those entities are tracked, and you need to actually use the  entities in your document.</p>
<h3>The Entities File</h3>
<p>Previously, step one was very easy.  You would just create a file that contained values like this:<br />
<code><pre class="brush: xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!-- MENUS --&gt;
&lt;!ENTITY abiword '&lt;guiseq&gt;&lt;gui&gt;Applications&lt;/gui&gt;&lt;gui&gt;Office&lt;/gui&gt;
&lt;gui&gt;AbiWord&lt;/gui&gt;&lt;/guiseq&gt;'&gt;
&lt;!ENTITY about-me '&lt;guiseq&gt;&lt;gui&gt;Applications&lt;/gui&gt;&lt;gui&gt;System&lt;/gui&gt;
&lt;gui&gt;Users and Groups&lt;/gui&gt;&lt;/guiseq&gt;'&gt;</pre></code><br />
However a somewhat recent change in libxml** prevents these entities from being parsed as they used to be, making things slightly more involved. (If you&#8217;ve been bitten by this bug, libxml will throw up a, &#8220;Namespace default prefix was not found&#8221; error message.)  To resolve this, you need to include the relevant XML namespace in the entity.  For Mallard-based documents, the resulting changes look like this:</p>
<p><code><pre class="brush: xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!-- MENUS --&gt;
&lt;!ENTITY abiword '&lt;guiseq xmlns=&quot;http://projectmallard.org/1.0/&quot;&gt;&lt;gui&gt;Applications&lt;/gui&gt;
&lt;gui&gt;Office&lt;/gui&gt;&lt;gui&gt;AbiWord&lt;/gui&gt;&lt;/guiseq&gt;'&gt;
&lt;!ENTITY about-me '&lt;guiseq xmlns=&quot;http://projectmallard.org/1.0/&quot;&gt;&lt;gui&gt;Applications&lt;/gui&gt;
&lt;gui&gt;System&lt;/gui&gt;&lt;gui&gt;Users and Groups&lt;/gui&gt;&lt;/guiseq&gt;'&gt;</pre></code></p>
<h3>Out of the Woods</h3>
<p>Once you make it past step one, the rest is a walk in the park.</p>
<p>Step two is to declare your entities in the start of your documentation files.  I modified a <a href="http://www.sagehill.net/docbookxsl/Db5Entities.html">DocBook 5 example</a> to come up with this:<br />
<code><pre class="brush: xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE page [
&lt;!ENTITY % entities-xubuntu SYSTEM &quot;libs/xubuntu.ent&quot;&gt;
%entities-xubuntu;
]&gt;
&lt;page xmlns=&quot;http://projectmallard.org/1.0/&quot;
      type=&quot;topic&quot; style=&quot;task&quot;
      id=&quot;music&quot;&gt;</pre></code></p>
<h3>Wrapping Things Up</h3>
<p>Step three, using your entities in your documents, is no different than what you would have done with DocBook 4 or any other XML-based syntax. For example, typing <code>&amp;abiword;</code> will be parsed as:<br />
<code><pre class="brush: xml">&lt;guiseq&gt;&lt;gui&gt;Applications&lt;/gui&gt;&lt;gui&gt;Office&lt;/gui&gt;&lt;gui&gt;AbiWord&lt;/gui&gt;&lt;/guiseq&gt;</pre></code><br/></p>
<p>and will cause &#8220;<code>Application &gt; Office &gt; Abiword,</code>&#8221; to magically appear in your rendered documentation.</p>
<p>If you have any questions, corrections, or suggestions (as I&#8217;m sure you&#8217;re all keen to be chatting about XML entities), feel free to leave me a note in the comments.</p>
<p>* I&#8217;m using external entities, which requires a separate file, but you can also use named or charater entities.<br />
** Apparently the namespace of the parent node <a href="http://www.mail-archive.com/xml@gnome.org/msg07168.html">is no longer inherited by the entities</a>, so you need to declare the namespace in the entity itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://j1m.net/2010/12/19/relaxng-entities-and-namespaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Yahoo!</title>
		<link>http://j1m.net/2010/01/28/dear-yahoo/</link>
		<comments>http://j1m.net/2010/01/28/dear-yahoo/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 04:22:21 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Desktop Linux]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[yahoo!]]></category>

		<guid isPermaLink="false">http://j1m.net/?p=156</guid>
		<description><![CDATA[Dear Yahoo! Welcome to Ubuntu! As a regular contributor to the Ubuntu project, I think it&#8217;s great that you are partnering with Canonical.  Because of the agreement you signed, Canonical will be able to hire more people to work on Free software.  Also, your contributions will help Ubuntu continue offering their OS at no cost [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://j1m.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>Dear Yahoo!</p>
<p>Welcome to Ubuntu! As a regular contributor to the Ubuntu project, I think it&#8217;s great that you are partnering with Canonical.  Because of the agreement you signed, Canonical will be able to hire more people to work on Free software.  Also, your contributions will help Ubuntu continue offering their OS at no cost to users.  These are great things.</p>
<p>As things get going, though, there is one big thing (or a set of big things centered around one request) that you need to do to make the Ubuntu-Yahoo! user experience better.  In short, you need to index the crap out of Ubuntu- and Linux-related sites.  For example, if I do a Yahoo! search for <a title="launchpad bug 387765" href="http://search.yahoo.com/search?p=launchpad+bug+387765&amp;ei=UTF-8&amp;fr=moz35" target="_blank">launchpad bug 387765</a>, I need the first link that comes up to be a link to the actual bug page for Launchpad bug #387765.  As it stands now, a Yahoo! search for that phrase brings up two results, neither of which are relevant.  The first of the two results is a link to the <a title="Debian Bugs page on Launchpad" href="https://bugs.launchpad.net/debian/" target="_self">Debian Bugs page on Launchpad</a>.  As a contributor, this is not what I need.</p>
<p>For comparison, the same search on Google brings up 273 results, with the first result being a direct link to the bug report on Launchpad (which is now closed, thanks to the efforts of Fabien Tassin and the other Chromium packagers and hackers)).  Google&#8217;s results not only link me directly to the bug that I am inquiring about, but also link me to a large number of pages that may be relevant to that bug report.</p>
<p>The example that I provide above concerns search results that are beneficial for contributors and developers, but what about regular users?  When I search Yahoo! for &#8220;Dual boot Windows 7 and Ubuntu,&#8221; the first page in the search results is for the Ubuntu 8.04 &#8220;Dual Booting,&#8221; official documentation page.  This page is out of date, especially given our migration to Grub2 in the 9.10 release.</p>
<p>These are just two examples, and my searches are likely not representative of the multitudes of search requests made daily on your site for Ubuntu-related tasks.  Moreover, I won&#8217;t pretend to understand how incredibly complex indexing the web can be.  I&#8217;m just writing to note that there is room for improvement, and I would like to see improvement so that our users can use your service to get relevant search results.</p>
<p>After all, improving Linux-related searches would be a win-win for us and for you.  Ubuntu developers and users would get their work done, and problems solved, more quickly and effectively, and you would get more regular users performing their searches on Yahoo!  This sounds pretty good to me.  Here&#8217;s to hoping it can happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://j1m.net/2010/01/28/dear-yahoo/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Ubuntu Chicago and the Global Bug Jam</title>
		<link>http://j1m.net/2009/01/27/ubuntu-chicago-and-the-global-bug-jam/</link>
		<comments>http://j1m.net/2009/01/27/ubuntu-chicago-and-the-global-bug-jam/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 17:21:37 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[LoCo Teams]]></category>

		<guid isPermaLink="false">http://j1m.net/?p=47</guid>
		<description><![CDATA[Per Daniel Holbach&#8217;s recent blog post about the Global Bug Jam, I thought I&#8217;d add my two cents (or give you a penny for my thoughts, and donate the additional penny to charity) about what the Ubuntu-Chicago Local Community Team is planning for the Global Bug Jam. There are still quite a few details for [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://j1m.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>Per Daniel Holbach&#8217;s recent blog post about the Global Bug Jam, I thought I&#8217;d add my two cents (or give you a penny for my thoughts, and <a href="http://blog.nixternal.com/2009.01.27/funny-spam-email/" target="_blank">donate the additional penny to charity</a>) about what the Ubuntu-Chicago Local Community Team is planning for the Global Bug Jam.</p>
<p>There are still quite a few details for us to iron out, but we have the basics in place, and are gearing up for the event.  What have we done so far?  First, we&#8217;ve been able to secure a great location, the headquarters of <a title="Centro" href="http://www.centro.net/" target="_blank">Centro</a> &#8211; an online media services company in downtown Chicago &#8211; for the event.  Centro uses a lot of FLOSS tools in their development, and they&#8217;ve been a consistent supporter of FLOSS events in the Chicagoland area for a number of years, so we&#8217;re really grateful to them for allowing us to use their space.  (As a side note, one of their developers who helped to secure the location for the event is also the creator of &#8220;<a title="Open Sprints" href="http://www.opensprints.org/" target="_blank">Open Sprints</a>,&#8221; an GPL&#8217;ed indoor bike-racing application that has garnered a lot of enthusiasm amongst the bike messenger crowd in the U.S.)</p>
<p>Ok, so we have a location.  We also have people who are going to attend.  Those people have (for the most part) been prepped on what we&#8217;ll be doing.  We held an introductory session as part of a <a href="http://www.chicagolug.org" target="_blank">Chicago GNU/Linux User Group</a> meeting a few weeks ago, where we were able to set people up with Launchpad accounts, PGP keys, SSH keys, and the 5-a-day application.  For those who weren&#8217;t able to attend the meeting, I&#8217;m sure we&#8217;ll be able to set them up online in advance of the event, or when they arrive for the bug jam.</p>
<p>Also, I mentioned it briefly above (&#8220;We also have people who are going to attend…&#8221;), but we are expanding the ranks of our loco team for this event.  Ubuntu-Chicago had been relatively quiet for a while, but we&#8217;re doing what we can to involve people outside of regular X/K/Ubuntu users and developers in the bug jam.  One of the better things to see in this process is how members of the Chicago GNU/Linux User Group are joining in, and how we&#8217;re also getting involvement of people who develop for FLOSS projects, but who aren&#8217;t typically involved in local Ubuntu events.  (They don&#8217;t even have to use Ubuntu . . .).  For example, I have heard of one Miro developer plans to attend portions of the bug jam, we hope to get some folks from Banshee and GNOME . . . and I&#8217;ve even heard that the entire <a href="https://launchpad.net/tilda" target="_blank">Tilda </a>development team (ok . . . so it&#8217;s just one person) may be involved, too.</p>
<p>Personally, I&#8217;m going to do my best to advocate testing and bug triage of Xfce 4.6 during the event.  I&#8217;m also excited that there will be a <a href="http://www.loumalnatis.com/" target="_blank">Lou Malnati&#8217;s Pizzeria</a> DIRECTLY ACROSS FROM OUR BUG JAM LOCATION.  OH HAI, UBUNTU-CHICAGO CAN HAS TEH BEST PIZZA.</p>
<p>So, yeah, if you&#8217;re a X/K/Ubuntu user or FLOSS-coder who lives in / around Chicago . . . even if you&#8217;re not an expert . . . Check out our <a href="https://wiki.ubuntu.com/ChicagoTeam/Projects" target="_blank">wiki page</a> (with the new NavBanner that I ganked from the Massachusetts team), join our <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-chicago" target="_blank">mailing list</a>, and make plans to see us the weekend of February 20th.  <img src='http://j1m.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://j1m.net/2009/01/27/ubuntu-chicago-and-the-global-bug-jam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation pains &#8211; Free Geek Chicago</title>
		<link>http://j1m.net/2007/06/04/installation-pains-free-geek-chicago/</link>
		<comments>http://j1m.net/2007/06/04/installation-pains-free-geek-chicago/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 01:54:57 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://j1m.net/?p=26</guid>
		<description><![CDATA[I volunteered at Free Geek Chicago again on Sunday, and spent much of my day trying to get Xubuntu Feisty Fawn to install on some rather unique hardware. It didn&#8217;t go so well. The machine in question was a PII with 256mb of RAM, and two SCSI hard drives &#8211; one 8gb and one 4gb [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://j1m.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>I volunteered at Free Geek Chicago again on Sunday, and spent much of my day trying to get Xubuntu Feisty Fawn to install on some rather unique hardware. It didn&#8217;t go so well.</p>
<p>The machine in question was a PII with 256mb of RAM, and two SCSI hard drives &#8211; one 8gb and one 4gb in size. I tried to set up an LVM installation, but the installer hung after it had completed 85% of the software installation. So I also tried manual partitioning, setting up the root partition on the 4gb drive, and boot, home, and swap partitions on the 8gb drive. It hung at 85%, too. Even trying to do a command-line installation hung at 85%.</p>
<p>With frustration mounting, we just switched over to a new computer. I knew there had to be a way to view what was causing the install to hang, so I asked the folks in #ubuntu-iso what I could do to see these error messages. I talked the issue over with Stephane Graber, and he suggested that I check out some of the install messages in /var/log by pressing ctrl-alt-f2 and getting to run level 2 once the installation had hung.</p>
<p>I&#8217;m going to do that the next time I&#8217;m at Free Geek Chicago. If anything, I&#8217;d like to at least get a good bug report out of this. I haven&#8217;t done too much testing of SCSI drives, and also haven&#8217;t done to much LVM testing, so I think I might try and add that to my testing repertoire on this release cycle. I&#8217;m even going to trade in my standard PII testing box (which runs just fine, thank you) for this SCSI beast (assuming it has no hardware issues).</p>
]]></content:encoded>
			<wfw:commentRss>http://j1m.net/2007/06/04/installation-pains-free-geek-chicago/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Who doesn&#8217;t love bugs?</title>
		<link>http://j1m.net/2007/03/13/who-doesnt-love-bugs/</link>
		<comments>http://j1m.net/2007/03/13/who-doesnt-love-bugs/#comments</comments>
		<pubDate>Wed, 14 Mar 2007 03:57:30 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Xubuntu]]></category>

		<guid isPermaLink="false">http://j1m.net/?p=14</guid>
		<description><![CDATA[Ubuntu Illinois / Chicago member Freddy Martinez had given me some brief pointers on filing bugs during one of our more recent Ubuntu-Chicago loco meetings, but my involvement with the ISO testing has really started to give me a taste for what bug reporting and triaging involves. Now that Xubuntu ISO testing is at a [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://j1m.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script>
<p>Ubuntu Illinois / Chicago member Freddy Martinez had given me some brief pointers on filing bugs during one of our more recent Ubuntu-Chicago loco meetings, but my involvement with the ISO testing has really started to give me a taste for what bug reporting and triaging involves.  Now that Xubuntu ISO testing is at a decent state, and we have enough testers to keep things moving, it seems like bug-related work will make for a natural progression from what I&#8217;m currently doing.</p>
<p>The &#8220;<a href="https://wiki.ubuntu.com/HelpingWithBugs" title="helping with bugs" target="_blank">Helping With Bugs</a>&#8221; wiki page looks like a good-enough place to get started.</p>
<p>I&#8217;m starting to better understand the role of ISO testing, and how it differs from bug reporting.  ISO testing looks at successes and failures from a big picture &#8211; is this release stable enough to get out the door?  ISO testing seeks out the show-stopper bugs that would prevent a milestone build from being released.  Bug reporting works in a similar way, but on a smaller scale &#8211; does this package work as intended?</p>
<p>That&#8217;s how I kind of see it, anyway.  They are different, but they compliment each other.</p>
<p>Oh, and apparently QA is a whole other ballgame, but I don&#8217;t know much about how it differs yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://j1m.net/2007/03/13/who-doesnt-love-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.349 seconds -->

