Subject: [xsl] empty string parsed as float? From: "Gabriel K" <gabriel.klappenbach@xxxxxxxxxxxx> Date: Wed, 1 Jun 2005 22:09:02 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Ascii end-of-file charact, Michael Kay | Thread | RE: [xsl] empty string parsed as fl, Michael Kay |
Re: [xsl] Ascii end-of-file charact, David Carlisle | Date | [xsl] Saxon for windows?, Karl Stubsjoen |
Month |