The W3C XSD 1.0 Part 2: Datatypes specification refers to the W3C XML 1.0 specification for the definition of the ID and IDREF types, but none of these documents defines any constraints on the length of values of these types.
However, it seems that some XML editors implement length limitations for these types.
Also, some Web browsers seem to implement length limitations, e.g. on the "id" attribute of the HTML Hx elements (which is defined as XML ID type in both HTML 4 and XHTML 1.1).
Are there any constraints on the length of the ID/IDREF types defined by a W3C specification or some other specification ?
What are typical length constraints implemented by XML editors ?
What are typical length constraints implemented by Web browsers (for HTML) ?