Thoughts From Eric Archive

Entity Errors

Published 21 years, 7 months past

Okay, XSLT folks, here’s one for you.  I had the following fragment in my journal recipes, with some whitespace to make everything more readable:

<xsl:element name="a" use-attribute-sets="plink">
  <![CDATA[&para;]]>
</xsl:element>

The goal was to get output something like this:

<a ... >&para;</a>

Instead, what I got was this:

<a ... >&amp;para;</a>

So how do I reach my goal?  And please don’t tell me that I should just generate the character directly.  It isn’t the result I want, even though I’m doing it now as a stopgap measure.  All I want to know is how to get what I want, if for no other reason than it will clarify more about XSLT, XML, and how they handle CDATA and entities.  Several Google searches turned up nothing useful, but it may very well be that I wasn’t using the right search terms.

Update: Curtis Pew pointed me to an XML.com article that led to the answer.  It is:

<xsl:element name="a" use-attribute-sets="plink">
  <xsl:text disable-output-escaping="yes">&para;</xsl:text>
</xsl:element>

The article talks about defining a custom entity, which I tried but failed to do even I’ve done it successfully in the past for less ambitious purposes.  xsltproc kept complaining that the namespace prefix xsl wasn’t defined, even though everything else in the recipe didn’t seem to have that problem.  Moving the xsl:text into the recipe itself was the answer.  Thanks to Curtis for the lead!


Signs and Importants

Published 21 years, 7 months past

Spotted in and around Cedar Falls, Iowa:

  • The license plate 007 JFK.  Because Iowa plates are formatted as three numbers followed by three letters, this is likely a random occurence instead of a vanity plate; typically vanity plates aren’t allowed to be in the same format as the random plate series, for fear of platespace collisions.  Maybe that was a poor choice of words.
  • Two minutes later, a license plate reading 152 EGO.
  • A sign attached to a traffic light stating “OBEY ONLY YOUR SIGNAL.”  The one the CIA transmits via my fillings, or just the one I get on the car radio?  (The same signs were later spotted in the Chicago area.)
  • A gas station called “Kum ‘n’ Go.”  Seriously.  It has great big signs at each station reading “PAY AT PUMP.”
  • A whole bunch of people (as in a few dozen) standing around the downtown Cedar Falls area with nametags on their chests and clipboards in hand, looking at the buildings and putting pencil to paper.  It turns out they were design students studying the downtown, which is award-winning, but it was still just a tad creepy.  I couldn’t help wondering if they were collecting information for TIPS or not.

Spotted in the Minneapolis International Airport:

  • Restaurants called “Miami Subs” and “Malibu Al’s” adjacent to each other.  Doubtless they were related, probably had the same owner, but it was still strange to see in Minnesota—particularly since elsewhere in the airport I passed a “Maui Tacos.”
  • Pay-to-surf WiFi.  I thought about ponying up the money just so I could use Airport in the airport, but my cheapitude got the better of me.

I also noticed a lot of attention being paid to Jeff Veen’s article on the business benefits of standards, coincidentally published on the same day I delivered a talk on that very subject at the University of Northern Iowa.  Jeff’s piece is a great overview of why using standards can save you money, so if you haven’t read it, you should; this is an important and often overlooked aspect of the whole standards movement, even though it’s the thing that is most likely to drive more standards adoption.  Tristan Nitot published an article with a very similar title on DevEdge back in February, and it might be worth revisiting.  Of course, I believe so strongly in this that I founded a consultancy with a core goal of helping organizations figure out how to save money by better using standards in their Web sites, both internal and external.


Round and Round

Published 21 years, 7 months past

The second Complex Spiral article is now on-line: “Rounding Tab Corners.”  The scheduling of this article was dictated by a promise I made at Seybold last week during the “CSS For Navigation” talk.  I’d been planning to write it later on, but due to interest in the audience I decided to move up publication.

A few days back I badgered you, as you may recall; now, thanks to Jeffrey, I am here to bring you the joys of Histology-World and its Relentless Flash Splash Screen, which is the whole point of linking to it.  By the end of the intro, as you’re redirected to the site’s home page, you may well ask yourself, as I did: “What the hell is histology?”  The site is fairly adamant about not admitting to anything, so I looked it up.  I think I can say with absolute confidence that if there’s one subject that really cries out for a lengthy, overblown Flash intro, histology most definitely isn’t it.


Out of the Past

Published 21 years, 7 months past

Yesterday, I finally cleaned out my old desk, which is now Kat’s desk, so she could make use of the drawers.  More than a decade’s worth of mementoes, knick-knacks, toys, scraps, and other oddities were there to be sifted.  It was like digging back through my own past, a sort of temporal archaeology.  There were even pieces of other men’s lives, like my father’s old Zeiss-Ikon camera, still in perfect working order, lent to me years ago and never reclaimed.  Since the desk itself originally belonged to a great-grandfather of mine, the sense of history surrounding the whole process was even heavier.

Not that it wasn’t fun to dig back into the past!  I threw out a whole bunch of stuff, of course, but all my old Animaniacs fast-food toys went to a good home, and I salvaged a number of wall signs whose origin is murky indeed.  So too I rescued some college-era photos, a box of stationery, assorted shoulder patches, and old conference passes.

The top half of a loose-leaf spiral-bound notebook.  The page contains some simple notes about CSS, including the approximate number of properties and ways to associate CSS with HTML.

And then, in a medium-size blue notepad with the name “Lysa” inexplicably written across its front in thick black marker, I found several pages of handwritten notes regarding HTTP 1.1, HTML 3.2, PICS, and several other technologies.  These were the notes I took sitting in the W3C track at WWW5—and there, in the middle of it all, were the notes I took as I encountered CSS for the very first time.  I checked the agenda for that conference, which was still with the conference pass, and discovered that the date for the presentation “Cascading Style Sheets and HTML” was Wednesday, 8 May 1996.  That was a good seven months before CSS1 was made a full Recommendation.

It’s a distinctly odd feeling to hold this loosely bound collection of paper in my hand and think about all that sprang out of that one, simple little page.  I was also amused to see that my notes, as minimal as they are, don’t validate (can you spot the error?)

There were other things rescued from the desk cleaning yesterday, of course.  There’s a box of memories sitting in a corner of my office now… but this one notebook made the whole experience worthwhile.  Just for a minute, as I flipped to that page, I remembered once more what it felt like to be completely blown away by a new technology and to know, beyond any doubt, that it was going to change my entire life for the better.  At the time, I just thought it would make my Webmastering job both simpler and more interesting, but even then, it was enough.  There was an incredible promise there, and I wanted more than anything to see where it led.

I still want that, even today.  For all that’s been learned, and all the things that have been done to make CSS the important piece of Web design it’s become, there is still a vast amount of uncharted territory.  I haven’t added anything to css/edge in quite some time, but the statement made there is still true.  We haven’t figured out everything CSS can offer us, even today, and as support improves and the specification is enhanced, we’ll be able to do still more.

I can hardly wait to see what’s next!


Off the Wire

Published 21 years, 7 months past

The TiBook’s Ethernet connection is all wireless now, thanks to the Netgear MR814 I installed yesterday.  I discovered that the one place on the front porch I really wanted to have access is a complete dead zone, which is highly annoying.  The rest of the house and the back yard all give me anywhere from 75% to 100% signal strength, and even the other half of the front porch wavers around 75%.  But the part where we have the really comfortable chairs set up, not to mention several short tables for drinks and such, is just a huge cone of silence.

Eventually, I realized it was probably our screen windows.  I’m pretty sure ours are a metal mesh, not vinyl, and if I’m correct it means they’re forming big impenetrable barriers to any WiFi signal.  My experiment of walking out into the front yard and immediately getting 50% signal seems to confirm this.  In all honesty, it’s probably just as well that there’s at least one area of the house that cuts me off from the Ethernet line.

To celebrate, I’m sitting here on the active side of my front porch, enjoying the sunny, breezy weather and listening to the cicadas while I share with you a few amusing and/or interesting things I’ve collected from various sources in the last few days:

  • You may recall the Bork edition of Opera, and of course there have long been scripts that alter content to sound like Yoda or any number of other distinctive speech patterns.  A close cousin to the Jive filter is Tha Shizzolator, courtesy everyone’s favorite rapper/porn artist, Snoop Dogg.  I found its translation of meyerweb highly amusing—I love the fact that it turns a reference to Doug and Tantek into “bomb diggity muthas”—and can hardly wait to see what it does with this entry.  Societal note: if you are offended by certain “naughty” words, or live/work in a place characterized by easy offense, you may want to avoid the Shizzolator.  I’m just sayin’.  Interesting technical note: the entity &para; becomes &pimpa;.  I have no idea why.
  • I never enjoyed the group pictures taken ad nauseam throughout my senior year of high school, but at least none of them ended like this one did.  Takes ponding to a whole new level, really.
  • Speaking of group photos gone horribly wrong, this one also features a soaking.  The difference is in the liquid vector, and of course there’s a little more intention behind this one.  I just hope that was the last picture in the series, instead of the first one.  There’s one guy toward the left side of the group who seems to be a little more aware than the rest.  Or maybe he just had forewarning.
  • Badger aerobics were never so… odd.  I got this from Jeff Veen, who was dead on when he said, “Every single person you know is about to send you a link to this.”  You may as well just get it over with now.  How long can you stand to let it run?  I timed out after roughly five minutes.
  • This little Flash movie is funny in certain ways, and yet not funny in too many others.  Likely to be offensive to people who have an aversion to inconvenient truths.

Released

Published 21 years, 7 months past

Right in the middle of the Iron Chef of Web Design presentations on Wednesday, a calm female voice announced over the public-address system, with quite a bit of volume, that due to a security situation the Moscone Center was to be evacuated.  As it turns out, the entire complex was being evacuated, not just the Moscone West building.  That’s a lot of people to dump on to the sidewalks of San Francisco all at once.  Fortunately, the hotel here has a WiFi network in the lobby, so I could check e-mail after all.

Dreamweaver MX 2004, and the rest of Studio MX 2004, has shipped and is available for download.  If you use Dreamweaver and you’re interested in CSS or stadndards-oriented design, it’s very likely worth the upgrade.  There’s a free 30-day trial, so you can always check it out if you aren’t sure.  You’ll get a chance to work with the templates I contributed and a design firm prettied up.  I spent some time talking with Macromedia folks while in San Francisco and was impressed anew by their interest in doing the right thing when it comes to standards.  These are folks who think about not just today’s Web, but the Web to come, and how they can best help authors get from here to there.  That’s a highly commendable perspective in a tool vendor.


Mission Critical

Published 21 years, 7 months past

I’ve been wandering from place to place in the Mission District of San Francisco all afternoon with Doug and Tantek, searching out open WiFi access points that also have open power outlets.  We were hanging out at Maxfield’s for a while, but then a live jazz band started playing and we couldn’t hear each other talk.  A picture of Doug, Tantek, and Eric peering over the display panel of Tantek's TiBook.  So we moved on, and after snacking on some New York-style pizza (!) have now settled in Muddy Waters on Valencia.  What relevance has any of this?  Not a lot, but it’s a great excuse to post an amusing picture Doug took with his Sony Vaio TR1AP.

Seybold starts tomorrow, which means I get to show up at Moscone West way too early in the morning to register, get oriented, and get ready for the panel “Speaking in Tongues,” which will discuss the wide variety of standards and choosing which is best for you.  Later in the day I’ll present “Bridging the Browser Divide,” a look at the state of standards support.  Tuesday, I’ll do “CSS For Navigation,” a slightly reworked version of “Minimal Markup, Surprising Style” (which provided many of the examples in the Listamatic), and then participating in the closing plenary “Future Vision: The Web and Beyond.”

I’d better get some future vision by then, I guess.  Think the audience will take me any less seriously if I tell them the Web doesn’t really matter because we’re due to be subjugated by the barbarian hordes of Pluto in the next three years?  Think anyone took me seriously in that last sentence?

As much as I like visiting San Francisco and hanging out with such cool people, I can’t help looking forward to my return home.  I fly back home on Thursday, which means that for the third year in a row I’ll start September 11th in the San Francisco area.  At least this year I’ll end it back in Cleveland, unlike the last two.  Contrary to the expectations of some people I’ve talked with, I have no apprehension about flying on Thursday.  I figure if there’s one day of the year that’s safest to fly, it’ll probably be that day.  Besides, I’m done with conference and client stuff Wednesday evening, and I intend to get back to Kat as soon as possible.


…the Weird Get Going

Published 21 years, 8 months past

I wrapped up the three-day speaking and training session at Los Alamos National Laboratory yesterday, and it seemed to go really well.  This having been my first multi-day training session, I was a little bit nervous that I might have problems with pacing, but everything seemed to come together just fine.  The attendees certainly were positive about the material, and how much they learned.

Now I’m off to Albuquerque to catch a flight to San Francisco (by way of Houston) for Seybold.  I’ve been four days from home, and have another five before I return.  Kat and I talk at least twice a day, and it seems like every conversation begins and ends with, “I miss you.”


Browse the Archive

Earlier Entries

Later Entries