InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

The wide ranging impact of the XML Paper Specification

Posted by Jonathan Allen on Nov 22, 2006

Sections
Development,
Enterprise Architecture,
Operations & Infrastructure
Topics
.NET ,
Artifacts & Tools ,
Licensing ,
.NET Framework
Tags
Windows Vista ,
WPF ,
PDF ,
XML Paper Specification

XML Paper Specification, or XPS, is a new XML-based format for creating formatted documents. Seen as a direct competitor to Adobe's Portable Document Format (PDF), it is one of the more controversial features in Windows Vista. Because it touches so much of the Windows infrastructure, it is expected to affect all users in one way or another.

XPS shares many of the same features as PDF. Both are positioned, or being positioned, as the de-facto format for documents that need page based layouts. Both can be created by having applications print to a special printer driver. Both offer free readers.

The key difference is that Adobe makes its money from PDF editors, while Microsoft is practically begging developers to build their own editors right into their applications. So if XPS takes off, Adobe stands to lose.

Ken Fisher of Ars Technica reports that Adobe did file a complaint with the European Union over XPS. Rather than ordering it removed from Vista, the EU has obtains assurances from Microsoft that XPS will be handed over to a standards body. The end result is that XPS is in a stronger position to become the new cross-platform standard for documents.

This isn't the first time Adobe went toe-to-toe with Microsoft over open file formats. Earlier this year Adobe forced Microsoft to pull PDF support from Office 2007 under the threat of a lawsuit.

A stand-alone viewer and the XPS print writer is included in Vista. Windows XP users can download these in the Microsoft XPS Essentials Pack. XPS is also supported by Office 2007.

For application developers, Microsoft has included the ability to read and write XPS documents in Windows Presentation Foundation.  Being an XML-based standard, WPF isn't strictly required and developers are free to build their own libraries.

XPS also changes the game for hardware manufacturers. As of Windows Server 2003, kernel mode print drivers were disabled by default. With Vista, they are not available at all. In exchange, users get support for XPS-based printer drivers. These drivers promise improved rendering and spooling capabilities. Inline filters allow for advanced color control, an essential feature for graphic artists. Asynchronous notifications offer the ability to inform the user not only how many pages have been printed so far, but also how far along it has gone through the rendering and filtering stages.

Microsoft is also targeting IT professionals with XPS. One of the touted advantages is that it is a safe format. Unlike Word documents and PDF files, which can contain macros and JavaScript respectively, XPS files are fixed and do not support any embedded code. The inability to make documents that can literally change their own content makes this a preferable archive format for industries where regulation and compliance is a way of life.

Finally there is the HD Photo Specification. This is a "new file format for continuous tone still images that surpasses the limitations of existing image formats." Specifications for both XPS and HD Photo Specification can be found on the Windows Hardware Developer Central.

Was about time by Matthias K. Posted
Not even on the radar .. by Cameron Purdy Posted
  1. Back to top

    Was about time

    by Matthias K.

    Of course there is always scepticism about Microsoft enforcing standards which emerged from the Windows platform. However, with the generally rather poor situation with PDF readers and writers for non-Microsoft platforms, it was about time to introduce a new format based on open standards.

    My biggest gripe with PDF is that in pratice, it's not as portable as it claims. Often enough, I am unable to reformat and/or print PDF documents created using a Windows client properly under Linux.

    XPS sounds like a welcome idea to me.

  2. Back to top

    Not even on the radar ..

    by Cameron Purdy

    > Because it touches so much of the Windows infrastructure, it is expected to affect all
    > users in one way or another.

    Unless it is adopted widely on Mac and Linux, it won't affect many people at all. For example, I hadn't even heard of it before I saw this article. PDF is an entrenched standard, and the only thing that will disrupt it is a more-standard standard.

    Peace,

    Cameron Purdy
    Tangosol Coherence: Distributed Caching for Java and .NET

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.