Sophie Net: Vamp HQ - Luxor XUL - Rachel - Apollo - The Saturn Times - The Richmond Post
vamphq.com Logo
All the tools to deliver rich, cross-plattform, zero-admin desktop apps built on open standards today
About
OverviewFront Page
What's NewHistory As It Happens
Upcoming EventsWhere Do I Go Tommorrow?
ScreenshotsPictures, Pictures, Pictures
TestimonialsWhat Users Say About Vamp
CreditsThanks, Thanks, Thanks
ContactAre You Real? - Ich Spreche Deutsch
Site MapFind It Quick
Projects
Vamp StudioPackage, Sign and Publish Your App
Package ManagerCreate and Share Your Own CD App Collections
App CentralFind the Best Apps On The Web
JNLP ValidatorDTD, XML Schema, Relax
jnlp2htmlCreate Your Own App Catalog
Web Start Cache ExplorerUnder the Hood: Web Start's Cache Revealed
Web Start Cache UtilityInject Your App Into Web Start's Cache
Ant Task SuiteAutomate, Automate, Automate
vampgetGrab Apps for Offline Consumption
CD App InstallerCreate Your Own Single-Jar, Offline Installer
CD App Installer IICreate Your Onw Self-Executing, Single-Jar Installer
CD Installer MissionGreat Things Are Coming
Download
BinariesGet It Now
DocumentationPDF Booklets, Presentations
Support
DiscussionAsk Questions
FAQAnswer, Answers, Answers
Professional Services
InfoHire Me - Yes, I'm Available
Web Start
Web Start LinksEverything to Get Started
Unofficial FAQAnswers, Answers, Answers
JNLP Tag Quick ReferenceQuick Reference to Tags and Attributes
JNLP Tag ReferenceAll Tags Explained, Real-World Examples
Configuration ReferenceHand-tune Web Start's configuration (jawaws.cfg); all config settings explained
Offline Installer TutorialCreate Offline, No-Java, High-Speed Installer for Web Start under Windows
Installation ResourcesCreate Your Own Java Runtime Plus Web Start Installer
os and arch CollectionLinux, Windows, Mac, Solaris
Java 2 Runtime DirectoryLinux, Windows, Mac, Solaris
Web Start 2.0If I Were King
Print Version Print Version

Vanessa - Vamp's Multi-Schema Validator for JNLP

Kick Start Vanessa Now download link

What is Vanessa?

Vanessa is Venus Application Publisher's multi schema validator for JNLP. Vanessa loads your JNLP file, checks if it is well-formed, validates it against built-in DTD and W3C XML schemas and collects all warnings and errors. Vanessa also creates a tree structure view from your JNLP file.

Vanessa comes with built-in schemas, but also allows you to use your own schemas. Vanessa uses Sun's multi schema XML validator that allows you to use Relax Namespace, Relax Core, Relax NG, Trex, XML DTD, and a subset of W3C XML schema part 1.

To spare you any setup hassle, Vanessa ships with a simple front end gooey on top of the weight-lifting validation engine so you can kick start Vanessa with a single-click using Web Start.

First Impression - Vanessa in Action

Vanessa dressed up in a Mozilla theme taking a breath after validating Hazel's JNLP file.

Vanessa First Impression

Arguments - What to feed Vanessa

Vanessa takes in the following arguments:

Argument Description Required
JNLP File The JNLP document to validate. You can either specify a URL or a plain-old vanilla file name. Yes
DTD Schema File The DTD schema to validate your JNLP document against. You can either specify a URL or a plain-old vanilla file name. If no DTD schema is passed in, the built-in DTD schema will be used. No
XML Schema File The XML schema to validate your JNLP document against. Note, that you are not limited to W3C XML Schema as Sun's multi schema validator engine also runs on Relax Namespace, Relax Core, Relax NG and Trex. You can either specify a URL or a plain-old vanilla file name. Note also, that Sun's multi-schema validation engine will detect the schema language automatically regardless of its file extension. If no XML schema is passed in, the built-in W3C XML schema will be used. No

Examples

Validate Hazel's JNLP file against built-in schemas

  • JNLP File: http://www.jenomics.de/vamp/hazel.jnlp

Validate Hazel's JNLP file against a custom W3C XML schema

  • JNLP File: c:/sandbox/venus/test/hazel.jnlp
  • XML Schema File: c:/sandbox/venus/test/schema/jnlp.xsd
Roll Your Own Schemas

To get started you can check out Vanessa's built-in DTD schema or built-in W3C XML schema.

To learn W3C Schema, check out these links at xml.com:

For more detail, check out the W3C Schema Specs:

To learn Relax, "How to Relax" third-party link is a good starter. Relax NG has its own tutorial third-party link. To learn Trex, check out the "Trex tutorial" third-party link.

Limitations - Vanessa has wrinkles

Sun's multi-schema validator library has some limitations. For further details, check out the Known Limitations section in the Usage Guide. (Sorry, I can't link to it as the Usage Guide is not online. You have to unpack Sun's binary multi-schema validator distribution.)

Vanessa's built-in W3C XML schema currently doesn't add default or fixed attribute values to your XML document.


All the tools to deliver rich, cross-plattform, zero-admin desktop apps built on open standards today
vamphq.com Logo
Send your comments, suggestions or praise to webmistress@vamphq.com Copyright © 2001, 2002 Gerald Bauer