mikedeboer/jsDAV

Xml.toClarkNotation() must not lowercase names

tripodsan opened this issue · 2 comments

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

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.