[
Lists Home |
Date Index |
Thread Index
]
Jonathan Robie wrote:
> Most authors don't think like we do.
This reminds me of some evolution cycles I've seen, something like
Version 1:
<!ELEMENT phone-number (#PCDATA)>
PHB: "Hey, we've got lots of invalid phone numbers in our documents!"
Version 2:
<!ELEMENT phone-number (international-code,area-code,local-number,
device-number?)>
and everything constrained to digits and to certain lengths by some
magic
Help desk call: "I want to enter a norwegian phonen number, and they
don't have area codes anymore..."
Version 2.1: (Reality set in)
<!ELEMENT phone-number (international-code?,area-code?,local-number,
device-number?)>
and most of the constraints mentioned above removed
Technical staff meeting: "nobody uses the optional fields, everybody
puts arbitrary formatted phone numbers into local-number..."
Version 2.5:
<!ELEMENT phone-number (#PCDATA)>
At this point the cycle may start over, perhaps switching to XSD...
J.Pietschmann
|