Next in thread → Next in month →

Re: [xml-dev] Style, Substance and Typing in Schemas

From
Andrew Welch <>
To
John Cowan <>
Date
2011-10-12T15:47:54Z
ID
<>
Thread
Re: [xml-dev] Style, Substance and Typing in Schemas
> For a variety of reasons, String can have no subclasses in Java.

Ah yeah..

> A string can be of any length, including zero.

Yep, it would've been nice to have an inbuilt type for a
non-empty-string, as 99.9% of the time I want the value to be non
empty if its present.


-- 
Andrew Welch
http://andrewjwelch.com
Next in thread → Next in month →