Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-20 | Update copyright years | Björn-Egil Dahlberg | |
2011-05-17 | Fix default encoding in SAX parser. | Lars Thorsen | |
2011-05-10 | Fix separator error in tokenlists. | Lars Thorsen | |
2011-05-10 | Added the xmerl test suites. | Lars Thorsen | |
2011-05-09 | Add ticet number for tm/xmerl_attr_charref_fix | Henrik Nord | |
OTP-9274 | |||
2011-04-28 | Prevent xmerl from over-normalizing character references in attributes | Tom Moertel | |
Section 3.3.3 of the XML Recommendation gives the rules for attribute-value normalization. One of those rules requires that character references not be re-normalized after being replaced with the referenced characters: For a character reference, append the referenced character to the normalized value. And, in particular: Note that if the unnormalized attribute value contains a character reference to a white space character other than space (#x20), the normalized value contains the referenced character itself (#xD, #xA or #x9). Source: http://www.w3.org/TR/xml/#AVNormalize In xmerl_scan, however, character references in attributes are normalized an extra time after replacement. For example, the character reference "
" in the following XML document gets normalized (incorrectly) into a space when parsed: 2> xmerl_scan:string("<root x='
'/>"). {... [{xmlAttribute,x,[],[],[],[],1,[]," ",false}] ...} This short patch restores the correct behavior: 2> xmerl_scan:string("<root x='
'/>"). {... [{xmlAttribute,x,[],[],[],[],1,[],"\n",false}] ...} NOTE: This change does not include tests because I could not find a test suite for xmerl. | |||
2011-04-02 | Fix minor typos and improve punctuation in the xmerl_xpath @doc comment | Marcus Marinelli | |
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-03-07 | Removed dialyzer warning. | Lars Thorsen | |
2011-01-24 | Track parents when expanding #xmlElement records | Ulf Wiger | |
The function xmerl_lib:expand_content/1 is mainly for expanding Simple XML, but can also handle xmerl records. This patch fixes an omission that caused expand_content/1 to not maintain the 'parents' list when expanding #xmlElement{} records. No test cases written, since the xmerl test suites have not yet been released. | |||
2010-12-02 | Fix entity checking when option skip_external_dtd is used so there is no ↵ | Lars Thorsen | |
fatal error. | |||
2010-12-01 | Fix format_man_pages so it handles all man sections and remove ↵ | Lars Thorsen | |
warnings/errors in man pages | |||
2010-09-06 | Fix improperly hex replacement when document is in UTF-8 format. | Lars Thorsen | |
2010-08-25 | Removed the empty file xmerl_dtd.erl. | Lars Thorsen | |
2010-06-07 | An empty element declared as simpleContent was not properly validated. | Lars G Thorsen | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |