Closed tripodsan closed 2 years ago
but... XML is not case-sensitive?!
yes they are: http://www.w3.org/TR/html-markup/documents.html#case-insensitivity:
In documents in the XML syntax:
Tag names for HTML elements must exactly match the names of the elements given in the HTML > elements section of this document; that is, tag names are case-sensitive. Attribute names for HTML elements must exactly match the names of the attributes given in the > HTML elements section of this document; that is, attribute names are case-sensitive.
Converting the property names to lowercase yields to problems when dealing with PROPFINDs that have properties with case sensitive names.
suggest to remove the toLowerCase() in https://github.com/mikedeboer/jsDAV/blob/master/lib/shared/xml.js#L58