XML Validation: The Need for Speed


When it comes to XML validation, more is better. By more, of course, I mean more speed, and more data. The faster you can get a list of validation errors – along with the information to help fix them – the better. Over the past few releases, we’ve made this an important priority in XMLSpy, first in Version 2013 with the introduction of Smart Fix XML validation, which actually provides a fix for a validation error that you can apply automatically.

In the latest release, we’ve improved on Smart Fix even further by enabling it in the graphical XML Schema editor, in addition to Text View and Grid View.

Smart Fix XML validator

Simply review the list of fixes automatically generated by XMLSpy, choose the one required, and click Fix.

You’ll also experience faster-than-ever XML validation speeds in XMLSpy 2014 thanks to integration of the super-fast RaptorXML engine, which also adds validation support for XML Schema 1.1, XSLT 3.0, and XQuery 3.0 (and earlier versions) with the strictest conformance to the corresponding standards.

Last but not least is the ability to display multiple validation errors at once, which has been requested by many customers.

Reporting multiple XML validation errors

You can now choose any number of errors to be reported during validation. As always, detailed information is returned for each validation error, allowing you to immediately visualize multiple issues and correct them in any order. The multiple tabs of the validation window let you store the list of errors as you re-validate, which can also be useful when fixing multiple issues.

If you haven’t upgraded to the latest version of XMLSpy, now’s the time. New customers can try all these features for free for 30-days.

By the way, if you’re running an older version of XMLSpy and want to see what’s been added since you last upgraded, the New Features Index is a great page see it all at a glance.

Tags: , , , ,

FlowForce Server Supports RaptorXML


Altova FlowForce Server supports RaptorXML Server and RaptorXML+XBRL Server.

Log details of a RaptorXML job step

Altova RaptorXML is the third-generation, hyper-fast XML and XBRL processor from the makers of XMLSpy. RaptorXML is built from the ground up to be optimized for the latest standards and parallel computing environments. Now FlowForce Server jobs can include steps to validate XML, transform XML with XSLT, execute XPath and XQuery, and even perform complex XBRL operations for financial reporting including validating XBRL taxonomies, and validating XBRL instances against XBRL taxonomies with support for XBRL Dimensions and XBRL Formula, which define new, compatible functionality to extend XBRL 2.1.

For example, we can return to the FlowForce Server job described in Taming Bad Input Data with FlowForce Server and add a RaptorXML operation to validate the XML files created from raw GPS data captured by a digital camera.
Read more…

Tags: , ,

Watermarks in StyleVision 2013


Watermark support has been added in StyleVision 2013, in response to customer requests. A watermark is text or an image that is displayed on the background of each page of a document section. Watermarks are often used in draft and confidential documents in order to emphasize a document’s status or security constraints.

In StyleVision 2013, watermarks may be used for print-oriented output formats, including PDF, RTF, and Word (Open XML). In keeping with StyleVision’s overall design model, with a single layout design used for multiple output types, you only need to define watermarks once, and they are applied to all print-output views.

Here’s an example of a StyleVision design containing a watermark:

StyleVision 2013 Word watermark example

Let’s take a look at the steps involved in using watermarks in StyleVision 2013 by modifying the QuickStart example (quickstart.sps) included in the Tutorials folder (installed with StyleVision), in order to produce the design shown in the image above.
In the Design view, if you select “Edit Properties” in the Initial Document Section, you’ll see a new “Watermark…” button. Clicking the button presents the Edit Watermark dialog:

StyleVision 2013 edit image watermark dialog

StyleVision supports both image and text watermarks. For both types of watermarks, the general idea is to specify:
· A condition used to determine when the watermark should be included (which can simply be “true()” in order to include the watermark on all pages)
· The watermark content (image or text, with related attribute setting preferences)
· Watermark size and position settings

For our example scenario, let’s assume we want to place a red “CONFIDENTIAL” text watermark across printed pages. To do so, we click the Text tab in the Edit Watermark dialog and:
· Enter “true()” for the condition
· Enter “CONFIDENTIAL” for the watermark text
· Select red for the watermark color

StyleVision 2013 edit text watermark dialog

StyleVision’s support for watermarks is powerful and flexible. You can include both text and image watermarks, for example, with different XPath conditional expressions used to specify what should appear when. You can also specify different watermarks (or pairs of image and text watermarks) for each document section in a StyleVision design.

Check out watermark options and the other new features in StyleVision 2013 by downloading a free 30-day trial version today!

Tags: , ,