• Login / Register
    • Help

Find Communities by: Category | Product

XML Technologies

4 Posts authored by: Vojtech Toman

For those who are interested in XProc, or willing to learn more about its possible applications, I decided to put online my slides from this year's XML-in-Practice conference. In the presentation, I give a (very) brief introduction to XProc and discuss its potential as an application integration technology.

XProc Engine version 1.0.9 has been released today - download from here. The new version reflects the latest changes to the XProc specification (see the not-yet-published Editor's draft) and improves the overall level of compliance. As of today, XProc Engine passes 99.81% of the XProc test suite (one failing test).


Except for fixing various bugs found in the previous versions, version 1.0.9 introduces a number of new features. The most significant one is probably the inclusion of the Saxon plug-in that adds XSLT 2.0 support to the engine; a feature that was much needed. Support for XSLT 2.0 also represents an important step towards complete support of the XProc specification.


Speaking of plug-ins, the plug-in architecture has been completely redesigned, with the aim to make creating extension plug-ins easier for application developers. The new plug-in infrastructure also makes it possible to use the plug-ins from the command-line, which the previous versions of the engine didn't support.


Other significant new features include the new security API (which allows application developers to contol various security aspects related to running XProc pipelines, such as accessing resources, importing XProc pipelines, executing steps etc.) and much improved, from-the-ground-up reimplemented, support for XML serialization.


For the complete change log, see XProc Engine Changes.

Vojtech Toman

New XProc Draft

Posted by Vojtech Toman Jun 1, 2009

The XML Processing Model WG published a new XProc draft last week. You can find an overview of the most significant changes on Norman Walsh's blog. (Norman is the chair of the WG and is also responsible for Calabash, an open source XProc implementation.)


XProc became a W3C Candidate Recommendation on 26 November 2008. Yesterday's draft represents a culmination of a 6 months long effort during which the WG has addressed all of the outstanding CR issues. As Norman believes — and I share his view — the specification is very close to being done.


The next step is Proposed Recommendation — but for that, the XProc test suite needs to be expanded (contributors welcome!) and “our implementors need to get to complete coverage”. I am certainly working on both.


Vojtech Toman

XRX with XProc

Posted by Vojtech Toman Apr 14, 2009

XProc is the perfect enabling technology for other XML standards that require a certain level of XML processing capabilities — a nice example of which is XForms.


From the ground up, XForms is entirely based on the XML model. While this clearly is an advantage from the design perspective, it can also be seen as one of the main reasons of the low adoption of the standard. The XForms model and the XForms instance data are XML documents, and to manipulate them, the ability to process XML data is necessary.


With the increasing proliferation of native XML offerings, and growing adoption of XQuery as the query language in these tools, things finally seem to be getting in motion for XForms — as demonstrated, for instance, by the recent buzz around the XRX (XForms/REST/XQuery) web application architecture. In short, XRX makes it possible to deploy XForms in end-to-end XML environments, eliminating the need for using non-XML models, such as middle-tier objects or (often costly) conversions of the submission data to relational structures.


XProc with its declarative, native XML processing model fits seamlessly in the XRX stack. XProc pipelines have the same power as XQuery (which is supported in XProc via the p:xquery step), while providing the application developers with additional functionality such as schema validation, XInclude processing, or HTTP support. But it's not only about complex things - one of the strengths of XProc is that it makes it equally easy to do simple tasks: adding attributes here and there, replacing a subtree in the document, renaming elements, etc. Add to that the modular nature of XProc (XProc is a joy to extend/customize/maintain) and you end up with a very powerful XML application architecture indeed.


Filter Blog

By date: