Re: [xml] "double"s and schema validation

On 2010-07-20 at 12:56:45 +0100,
Richard Quadling <rquadling gmail com> wrote:

On 20 July 2010 02:40, Dan Sommers <dan tombstonezero net> wrote:

¹, not decimal.

I should have included both links:  The spec for double refers to the
spec for decimal, and it's the decimal spec that allows the "." in the
mantissa portion of a double.

As 'e' is an optional part of a double, can you try a different value.
Something like 'FooBar'. Anything really.

$ xmllint --schema t.xsd t.xml
<?xml version="1.0"?>
t.xml:1: element t: Schemas validity error : Element 't': 'FooBar' is not a valid value of the atomic type 
t.xml fails to validate


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]