This is an automated email from the ASF dual-hosted git repository. borisk pushed a change to branch xerces-2 in repository https://gitbox.apache.org/repos/asf/xerces-c.git.
at 9829c35 Don't report a transcoding error if the invalid character is not at the start of the buffer, it could be an incomplete buffer (XERCESC-1936) This branch includes the following new commits: new 8bd0b66 doc and key updates. Thanks to Boris new ac18612 incorrect namespace prevents processing further valid documents new 3e38fdb Error not caught for unbound prefix for xml 1.1 reused in same scope. new 0bbf1cc use correct memory manager not one from deserializer new fc43936 Fix some typos. new c22a37b qname enumeration fix to allow different prefix in schema and instance (XERCESC-1441) new abed9ec Minor perf change to avoid calling XMLString::stringLen when only checking for empty strings new c5b55c7 Testing commit rights with a whitespace commit. new 71efb3a Reverted my previous whitespace commit. new 422a779 Encode characters for anyuri using xlink 5.4 algorithm. Patch from Gilbert Chan. new c59dc6f Pass in memory manager to janitor. new e701870 Various schema fixes including support for importing multiple schemas with the same namespace new e9af1ab Add MinGW build instructions. Patch by Justin Dearing. new 2f7b292 Various fixes new 5caca62 - If the URI contains several non-ASCII characters, the optimistic allocation (len*3) could run out of space (as each non-ASCII char would be replaced by at least 2 UTF-8 bytes, and each of them by 3 characters) -> use an XMLBuffer that can grow past the initial allocation - the static buffers used by printf were 2 bytes long, but sprintf would also write the NULL terminator - the converted UTF-8 string was converted partially, as the loop used the length of the original [...] new ebd61fd support for http redirection for socket and winsock netaccessors new 2ec66a5 Fix compilation error new 066fb4a Update version to 2.8 (XERCESC-1774) new 0a4cbf4 Fixed 64 bit issue (XERCESC-1768) new be1483d Show how to release a transcoded string (XERCESC-1767) new 7b20136 Removed a stray 0x16 byte (Ctrl-Z) from the end of the file. new d80e9a9 In restriction checking, when looking for a declaration of a base element, use the schema grammar corresponding to the type this element is declared in (XERCESC-1777) new 4313759 Check for the callback pointer to be valid before each call, as a callback could be resetting it (XERCESC-1781) new 9192991 In the call to iconvTo, use the size_t variable instead of the unsigned int one (XERCESC-1782) new 0f90fae Report an error when a grammar or a type is not found (XERCESC-1745) new ed114f4 Validate the attributes of a simple type definition before trusting its content (XERCESC-1718) new a61bc54 Factor-out project-independent pages into a separate project (web). Change the documentation to allow simultaneous hosting of several releases on the website. new e009fcc add missing xmlstring::release new 5c2aeba Rewritten fix for XERCESC-1718 as checking for the validity of all the attributes multiple times would report errors when IDs are used new 9d02bb2 Fix incorrect path causing doxygen error new 7a1b9c5 Fix incorrect path causing packageSources error new 512bfb8 Fix problem with collision in RefHash3KeysIdPool new 720205b Fix problem with collision in RefHash3KeysIdPool new 4160394 Get rid of the deprecated prefix in the icu message loader resource file (patch from XERCESC-1769 by Tiziano Müller). new a278a65 Optimize for speed, not for size new a5d4d8a Add UTF16-LE and UTF16-BE to the list of encodings tested by GNUiconv (XERCESC-1663) new f308836 When looking for the best encoding, match both char size and endianness; backported other fixes for running on big-endian machines new 3ae3205 If the XPath parser returns 'false', it means the XPath is invalid... (XERCESC-1787) new 6ee6866 Change images/ to resources/ new 94d067e Disable use of Graphviz for the class diagram generation. The built-in support in recent Doxygen versions results in nicer-looking diagrams that also take less disk space. new a7bf9b8 When an element had a complex type coming from a different namespace, and the type was anonymous, the grammar was not switched and locally defined elements used by the type could not to be found (because the local search was done in the namespace of the element, and a global search was done in the namespace of the type) (XERCESC-1776) new c1e8b1c Fix for xercec-1795, remove .x files on os390 new 1e0eb08 Fix for xercesc-1796. All tests were failing when iconv390 was used as a transcoder. new 04c1323 Fix for xercesc-1793. Iconv390 should be the default transcoder on os390. new 66afd36 Rewrite the storage mechanism to avoid cast (XERCESC-1678) new 881676e Schema fixes for e1-16 errata and full schema checking of any choice restricted by any new 6618d2d Avoid that an external entity having an empty SYSTEM id is treated as internal (XERCESC-1763) new 01e1b89 The fix for XERCESC-1763 didn't mark the external DTD as an external entity, leading to the wrong base URI being applied to its content new ceff54e Implement the revised interpretation of ##other in which unqualified names are not matched. Fixes XERCESC-1758 and XERCESC-1655. new 6401ea8 Don't call deallocate with NULL pointer. new 5c520ed Fix a bug introduced with a previous commit. new 6bcf210 Check for NULL in deallocate new 91865d0 Fix for XERCESC-1813. new 0a77e67 If an element cannot be found in the schema for its namespace, it is also searched in the empty namespace to see if the user mistakenly forgot about undefining the default namespace; in this case a better error report is generated and (if schema processing is allowed to continue) the empty namespace definition is taken. However, even if the empty namespace definition didn't pass a few checks, we ended up silently using it -> we changed the namespace of the element withou [...] new 98fced5 Fix for XERCESC-1806. new 621e2ba Fix for XERCESC-1818. new ced4a4f Zero the next pointer on a memory block. new 424aa03 Fix a broken link. new 98655f5 Fix broken link. new 3a23156 Update URLs in source code to point to the new pages. new f45e05e Get rid of the headers and footer in the Doxygen-generated documentation. new 53d9103 Avoid recursion when parsing simply nested DTD structures. This issue is referenced in the following document: CVE-2009-1885 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1885). Thanks to Jukka Taimisto, Tero Rontti and Rauli Kaksonen from the CROSS project at Codenomicon Ltd. and CERT-FI for bringing this issue to our attention. new 7f4320c Avoid recursion when dealing with ContentSpecNode objects; it can easily turn into a stack overflow (XERCESC-1935) new ba08790 Hexadecimal digits are in the range A-F only (XERCESC-1966) new 9829c35 Don't report a transcoding error if the invalid character is not at the start of the buffer, it could be an incomplete buffer (XERCESC-1936) The 65 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org