Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xsl] empty string parsed as float? [xsl] empty string parsed as float?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
