ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

empty string parsed as float?

Subject: empty string parsed as float?
From: "Gabriel K" <gabriel.klappenbach@xxxxxxxxxxxx>
Date: Wed, 1 Jun 2005 22:09:02 +0200
empty string for float
I have a schema which defines an element with type float (or anything other
than string for that matter).
The xml file validated has the element, but it's empty.
So the parser tells me it can't parse the value '' as a float.

When I wrote the schema I thought that if you leave the element empty, it
would pass validation, and if you don't leave it empty, it MUST be a float
to pass validation.
I don't want the element to have the type string or token, I want float. But
I want it to not give an error if the element is empty.
Is this possible? In that case how?


/Gabriel

Current Thread

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.