Max default length xsd string

Sharpeye500 picture Sharpeye500 · Apr 13, 2012 · Viewed 36.8k times · Source

What is the default max length of xsd string if max length is not specified?

https://www.w3schools.com/xml/schema_facets.asp

maxLength - Specifies the maximum number of characters or list items allowed. Must be equal to or greater than zero.

Is it zero if not specified?

Answer

MiMo picture MiMo · Apr 13, 2012

The default is unlimited length - the spec say that xs:string is '...finite-length sequences of characters...'