September 2003 Archives

Apache Xerces to support XInclude

| No Comments | No TrackBacks |
FYI: Apache Xerces-J 2.5.0 release now partially supports XInclude. More info at http://xml.apache.org/xerces2-j/faq-xinclude.html.
Kudos for Xerces team!

Pull everywhere

| No Comments | No TrackBacks |
Finally full-fledged pull XML parser API for Java - StAX. James Clack in expert group, enough said.

The Streaming API for XML (StAX) is a Java based API for pull-parsing XML.
And here is "An Introduction to StAX" by Elliotte Rusty Harold. Nice!

Thought spaghetti

| No Comments | No TrackBacks |
If you'd ask me what's the best of the Tim Bray's ongoing, I say it's photos. Of course rants are great too, but I like his photos even more than holy XML homilies. So I decided that my blog needs photos too. The ship below is rusting in port of Istambul, Turkey, where my wife and I spent a weekend couple of weeks ago.
Dead ship in Istambul port.
Thoughtlessly missing weather forecast we've been shocked by the rainy cold weather when the airplane landed. Come on, it's hard core middle-east summer still goes on in Israel! Fortunately it was mostly sunny enough for such delicate heat-loving plants like Israeli tourists.
We've been wandering three days throughout the old city, trembling in front of 1.5 millennial Hagia Sophia, ploughing the Bosporus (not on the ship above) etcetera. I've never seen so much and so big mosques and as well as so much women in paranjas. It's probably the only Islamic country I can travel with my Israeli passport. Funny enough, turks seems to be speaking Russian better than English, so second day I switched to Russian to stop making them gesticulating.

In another news - in less than an hour somebody is going to snap xquery.net domain name. It wasn't renewed by a previous owner and will be dropped by Network Solutions at 2:00PM EST today. Nice one, but looks like I won't win it, as too many people want it.

XInclude.NET 1.0

| No Comments | No TrackBacks |
Today is the day, I'm glad to announce XInclude.NET 1.0 release. Download it here. For those who have no idea what XInclude.NET is:
XInclude.NET is free open-source implementation of XInclude 1.0 Candidate Recommendation and XPointer Framework Recommendation written in C# for .NET platform. XInclude.NET supports XPointer element() Scheme, XPointer xmlns() Scheme, XPointer xpath1() Scheme and XPointer xpointer() Scheme (XPath subset only).

Changes since 1.0beta release:

  • Support for XPointer xpointer() schema (XPath subset only)
  • Bug fixes
  • Performance improvements
No big deal, but it took me the whole yesterday to fix reported bugs, optimize a bit and prepare the release. Hope you'll like it.

Now, the article about this plumbing is the agenda.

Back to beloved plumbing

| No Comments | 1 TrackBack |
Now it's time to come back to my beloved XML plumbing - XInclude and XPointer. A bit of polish and tomorrow I'm going to release XInclude.NET 1.0. Changes since 1.0beta - XPointer xpointer() schema support (XPath subset only), bug fixes and minor performance improvements.

Along with that I've started an article about XInclude and XInclude.NET, what a good exercise for brains, much harder than regular programming. So more to come.

To admin's spite

| No Comments | No TrackBacks |
Finally I managed to run IM at my work (firewall issue), my sign-in name is oleg@tkachenko.com. So whenever you need me...

Sweet piece of code

| 3 Comments | No TrackBacks |
//Whoohaa!
XPathExpression expr = nav.Compile("set:distinct(//author)");
expr.SetContext(new ExsltContext(doc.NameTable));
XPathNodeIterator authors = nav.Select(expr);
while (authors.MoveNext())
    Console.WriteLine(authors.Current.Value);
EXSLT's set:distinct in XPath-only selection. Sweet.
Coming soon, watch announcements!

Quote of the day

| No Comments | No TrackBacks
Michael Kay:
Namespaces were invented because someone was worried that XML was too simple...