Re: Express length constraints in a regex or use maxLength and minLength?

I've been asking for several years
> to hear of a system that was stable for 1.0 names but actually did break,
> or would break, if confronted with 1.1 names.  I'll ask it again:  anyone
> who can tell me of such a system (constructed for other purposes
> than demonstrating fragility in the face of 1.1 names) will get a beer
> from me when we are next in the same city.
>

Depends what you mean by "stable" and "break". I've certainly seen code 
that needed to be changed to accommodate the increased set of name 
characters, and where the change was non-trivial because the increased 
set included non-BMP characters. The code was concerned with mapping XML 
names onto unique identifiers in some other space (SQL column names, 
perhaps? I forget the details).

Michael Kay
Saxonica

Received on Sunday, 9 January 2011 22:53:40 UTC