APNIC Home APNIC Home
Info & FAQ |  Resource services |  Training |  Meetings |  Membership |  Documents |  Whois & Search |  Internet community

You're here:  Home  Mailing Lists rescert 


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

Re: Proposed Up/Down protocol description



On 24/05/2007, at 8:29 AM, Geoff Huston wrote:

There is one item here that I'm just not sure about:
Minor question: shouldn't we introduce a maximum length here? I'd hate to reserve space for multi-megabyte blobs in a database for this :-)
I have no idea in XML whether such a restriction is good / bad / indifferent / whatever. ***Does anyone have experience in this area of attempting to bound the length of text elements in XML-based protocols?

It's possible to restrict the minimum and maximum length of otherwise freeform strings with XML Schema Datatypes. It is also relatively trivial. It is harder to agree on a sensible maximum length, since there are so many reasonable choices that are driven primarily by preference.

--
bje