[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: qname + uri

Subject: RE: qname + uri
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 3 Jan 2001 10:13:24 -0000
mike kay qname
> In a testing application I'm writing, I have a need to 
> 1.validate  a given ID value as being a valid qname.

The current version of Saxon has a static method
com.icl.saxon.om.Name#isQName() which should be very easy to call from XSLT.
> 
> 2. I also need to validate a uri + fragment as being valid.

I've come to the conclusion that isn't possible. A URI is only valid if it
uses a protocol name that has been registered, and the set of registered
protocols changes with time. Saxon allows any string to be used as a URI,
until it's dereferenced, at which point it must be a URL acceptable to Java.

Mike Kay 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • qname + uri
    • Dave Pawson - Tue, 2 Jan 2001 13:19:39 -0500 (EST)
      • <Possible follow-ups>
      • Kay Michael - Wed, 3 Jan 2001 05:11:02 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.