This piece of computer science was patented - I thought you can&#39;t patent software?
<p><a href="http://pdfpiw.uspto.gov/.piw?Docid=08352502&amp;homeurl=http%3A%2F%2Fpatft.uspto.gov%2Fnetacgi%2Fnph-Parser%3FSect1%3DPTO2%2526Sect2%3DHITOFF%2526u%3D%25252Fnetahtml%25252FPTO%25252Fsearch-adv.htm%2526r%3D3%2526f%3DG%2526l%3D50%2526d%3DPALL%2526p%3D1%2526S1%3D%252522Jose%252BTorres%252522%2526OS%3D%252522Jose%252BTorres%252522%2526RS%3D%252522Jose%252BTorres%252522&amp;PageNum=&amp;Rtype=&amp;SectionNum=&amp;idkey=NONE&amp;Input=View%20first%20page" rel="nofollow">See this document</a></p>

<p>This document described storing a tree data structure as xml for querying and processing. This is trivial computer science. How did this patent get approved?</p>

<p>It's not software; it's a "method," which is a type of process.</p>

<blockquote>
  <p>Whoever invents or discovers any new and useful process, machine, manufacture, or composition of matter, or any new and useful improvement thereof may obtain a patent therefor, subject to the conditions and requirements of this title.</p>
</blockquote>

<p><a href="https://www.law.cornell.edu/uscode/text/35/101">35 USC §101</a></p>

<p>(Software would be a particular program employing this process, written in a particular programming language and run on a particular hardware platform.)</p>

<p>To be protected by patent, an invention must be novel and non-obvious.  The patent office doesn't get too deeply into questions of obviousness, however; these will come up when a patent's validity is challenged, for example in court, generally in response to an accusation of patent infringement.</p>

<p>If you believe the invention is obvious, and that you could prove that in a court of law, you can use the invention secure in the knowledge that you will prevail when IBM comes after you for patent infringement.  If you don't have very deep pockets, however, you might want to think twice about pursuing that strategy.</p>

<p>The U.S. Patent office has essentially ZERO expertise in software. In fact, software development does nothing to get you into the patent bar. The patent office routinely grants patents to non-original software ideas or non-patentable subject matter wrapped in gobbledygook.</p>

software patents