Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] applying templates to attribute value

From: Liam Quin <liam@------>
To:
Date: 7/2/2008 4:31:00 AM
On Wed, Jul 02, 2008 at 12:47:13AM +0200, Michael Ludwig wrote:
[...]
>     One of the original goals of XML was that it be simple
>     enough that a "Desperate Perl Hacker" (DPH) be able to
>     write an XML parser. The exact interpretation of this
>     requirement varied from person to person. At one extreme,
>     the DPH was assumed to be a web designer accustomed to
>     writing CGI scripts without any formal training in
>     programming, who was going to hack it together in a
>     weekend. At the other extreme, the DPH was assumed to
>     be Larry Wall and he was allowed two months for the task.
>     The middle ground was a smart grad student with a couple
>     of weeks.
> 
> Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX
> By Elliotte Rusty Harold
> http://tinyurl.com/3ve9ub

ERH seems (from this quote) to be confounding a couple of different
things.

We wanted XML to be implementable in 2 weeks by a grad student.
As opposed to taking an experienced full-time programmer a year,
which was (according to available evidence) closer to the mark for
a full SGML parser.  But the first implementations were in Java
and C rather than in Perl.

The DPH was the person in the documentation department tasked with
(say) changing every reference to part 2006 to part 2009 without
affecting dates... in, say, 100,000 documents of suitably marked-up
XML.  This was a real-life sort of example, and the point was that
we could not (then) assume XML support in text processing languages
such as Perl, so we had to make sure that non-XML-aware tools could
handle XML reliably.  This gave us the <syntax /> for empty elements;
with more general SGML the tools had to read a DTD and possibly also
an "SGML declaration", each in a weird and idiosyncratic syntax.
I never took it to reflect on the programming ability of the Perl
programmer, though.

If Larry Wall was mentioned in connection with "DPH" I don't remember
the occasion :-)

Best,

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent