title: What is the one line max length limit in XML files?
body: <p><a href="https://stackoverflow.com/questions/55966816/vectordrawable-resourcesnotfoundexception-while-xml-vector-drawable-resource-fi">Recently I've faced an issue related to max line (string) length limit in a <code>path</code> attribute  of vector xml</a>. In my case 51k chars appears to be an overlimit while 29k is OK. Anyway, I guess it is not related to some specific kind of xml like <code>manifest</code>, <code>string</code>, <code>style</code>, <code>attr</code>, <code>drawable</code>, <code>layout</code> or any other, I'm sure it is a general limitation for any xml in Android project.<br>
  So I'm curious <strong>what is the limit (I mean an exact max number of chars allowed for one line in Android xml)</strong> and why its not being applied by <code>AndroidStudio</code> at vector importing time? It looks like Google does not know about this limit itself or maybe its a limitation of a gradle.<br>
  Please do not point me that long strings are bad - I do realize it and it does not cancel my question.<br>
  Guys, please read my question and other SO questions you might think are the dupes carefully! There is no answer to my question there.<br>
  <a href="https://stackoverflow.com/questions/9586065/android-strings-xml-length/9586232#9586232">Android strings.xml length</a> SO question has absolutely other meaning. Asker asks if there is a way to get the count of strings in <code>strings.xml</code>. Besides that, my question is not related to <code>strings.xml</code> exactly but to any xml file at all.<br>
  <a href="https://stackoverflow.com/questions/49878650/android-indexoutofbound-exception-for-resource-getstring">Android IndexOutOfBound Exception for resource getString</a> is about absolutely another exception/issue and gives absolutely NO answer on my question. Again, my question is not related to <code>strings.xml</code> at all.<br>
  <a href="https://stackoverflow.com/questions/15369117/what-is-the-maximum-amount-of-data-that-a-string-can-hold-in-java">What is the maximum amount of data that a String can hold in java?</a> is not what I am asking about, its about Java <code>String</code> class limitation. Even if its related then the limit is about <code>Integer.MAX</code>/2(cuz for Unicode it takes 2 bytes to encode 1 char) so its not 51k chars in any way.</p>