Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] empty string parsed as float?

From: "Gabriel K" <gabriel.klappenbach@------------>
To:
Date: 6/1/2005 8:34:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent