Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
Licensing Information
The following license agreement covers the XML parser code that is used by the VoiceXML interpreter and is contained in the Cisco IOS software image.
The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
Alternatively, the contents of this file may be used under the terms of the GNU General Public License (the "GPL"), in which case the provisions of the GPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replacing them with the notice and other provisions required by the GPL. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the GPL.
The Original Code is expat.
The Initial Developer of the Original Code is James Clark.
Portions created by James Clark are Copyright (C) 1998, 1999
James Clark. All Rights Reserved.
Contributor(s): Jenny Yao from Cisco Systems, Inc.
Modification of the source code made by Jenny Yao is controlled by definition of "TARGET_CISCO".
Cisco Modification of Expat Source Code
File Modified
Description of Modification
hashtable.h
Remove include file <stddef.h>.
xmldef.h
Include Cisco IOS <master.h> file.
hashtable.c
Change filename from hashtable.c to xmlhashtable to avoid a generic filename.
xmlparse.c
Remove some variables defined but not used, like errorProcessor and internalEnc. Type cast (int) for sizeof() during arithmetic operation. Add new routine XML_realloc(), replacing realloc() in this file because usage of realloc() could cause memory leakage.
xmltok.c
Add argument type void for function with empty argument. Type cast (int) for sizeof() during arithmetic operation.
xmltok.h
Add argument type void for function with empty argument.