changeset 148:33ca3897ae25

7029701 libxml2 should move to userland 7029702 libxslt should move to userland
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
date Thu, 24 Mar 2011 12:44:50 -0700
parents 5af6875cbf70
children 029b7bac4817
files components/libxml2/Makefile components/libxml2/libxml.3 components/libxml2/libxml2-26.p5m components/libxml2/libxml2.3 components/libxml2/libxml2.license components/libxml2/libxml2.p5m components/libxml2/llib-lxml2 components/libxml2/mapfile components/libxml2/patches/configure.in.patch components/libxml2/patches/globals-fix.patch components/libxml2/patches/globals.patch components/libxml2/patches/libxml2-01-remove-static.patch components/libxml2/patches/mem-leak-fix.patch components/libxml2/patches/no-docs-examples.patch components/libxml2/patches/proto-mismatch.patch components/libxml2/xml2-config.1 components/libxml2/xmlcatalog.1 components/libxml2/xmllint.1 components/libxslt/Makefile components/libxslt/libxsl-26.p5m components/libxslt/libxslt.3 components/libxslt/libxslt.p5m components/libxslt/llib-lexslt components/libxslt/llib-lxslt components/libxslt/mapfile.exslt components/libxslt/mapfile.xslt components/libxslt/patches/configure.in.patch components/libxslt/patches/libxslt.patch components/libxslt/xsl.license components/libxslt/xslt-config.1 components/libxslt/xsltproc.1 components/meta-packages/history/SUNWlxml-python26.p5m components/meta-packages/history/SUNWlxml.p5m components/meta-packages/history/SUNWlxsl-python26.p5m components/meta-packages/history/SUNWlxsl.p5m make-rules/shared-macros.mk
diffstat 36 files changed, 3953 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/Makefile	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,78 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		libxml2
+COMPONENT_VERSION=	2.7.6
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH=	sha1:b0f6bf8408e759ac4b8b9650005ee8adea911e1d
+COMPONENT_ARCHIVE_URL=	ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE)
+
+include ../../make-rules/prep.mk
+include ../../make-rules/configure.mk
+include ../../make-rules/ips.mk
+
+LIBNAME=	xml2
+LINTOUT=	lint.out
+
+CFLAGS +=	$(CPP_LARGEFILES)
+LDFLAGS +=	$(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
+
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --with-pic
+CONFIGURE_OPTIONS += --with-threads
+CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
+CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
+CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
+CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
+
+PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/$(COMPONENT_SRC)
+
+COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoconf)
+
+COMPONENT_POST_BUILD_ACTION = \
+	 (cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
+			-I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include \
+			$(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1)
+
+COMPONENT_POST_INSTALL_ACTION = \
+	(cd $(@D); $(INSTALL) llib-l$(LIBNAME).ln \
+			$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)))
+
+# common targets
+build:		$(BUILD_32_and_64)
+
+install:	$(INSTALL_32_and_64)
+
+test:	$(TEST_32_and_64)
+
+$(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
+	(cd $(@D) ; gmake tests || exit 0)
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/libxml.3	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,80 @@
+.TH libxml 3 "23 May 2002"
+.SH NAME
+libxml \- library used to parse XML files
+.SH DESCRIPTION
+The
+.I  libxml
+library is used to parse XML files. 
+Its internal document repesentation is as close as possible to the 
+.I DOM 
+(Document Object Model) interface,
+an API for accessing XML or HTML structured documents.
+.LP
+The
+.I libxml
+library also has a 
+.IR SAX -like
+interface, 
+which is designed to be compatible with that of another XML parser library
+called 
+.IR expat.
+NOTE:
+.IR SAX , 
+the Simple API for XML,
+is a standard interface for event-based XML parsing,
+developed collaboratively by the members of the XML-DEV mailing list, 
+currently hosted by OASIS.
+The
+.I expat
+library is a XML 1.0 parser written in C,
+which aims to be fully conforming. 
+It is currently not a validating XML processor.
+.LP
+The
+.I libxml 
+library now includes a nearly complete 
+.I XPath 
+implementation. 
+The
+.I XPath
+(XML Path Language) is a language for addressing parts of an 
+XML document,
+designed to be used by both 
+.I XSLT 
+and 
+.IR XPointer .
+.LP
+The
+.I libxml 
+library exports Push and Pull type parser interfaces for both XML and 
+.IR html . 
+.SH FILES
+.TP 2.2i
+.B /usr/lib/libxml2.so
+shareable library
+.TP
+.B /usr/bin/xmlcatalog
+binary application for parsing and manipulating XML or SGML catalog files
+.TP
+.B /usr/bin/xmllint
+binary application for parsing XML files
+.TP
+.B /usr/bin/xml2-config
+binary application for printing library configuration
+.TP
+.B /usr/include/libxml2
+header files
+.SH AUTHORS
+Daniel Veillard (daniel@veillard.com).
+If you download and install this package please send the author email.
+Manual page by Ziying Sherwin (sherwin@nlm.nih.gov),
+Lister Hill National Center for Biomedical Communications,
+U.S. National Library of Medicine.
+.\" end of manual page
+.SH SEE ALSO
+.IR xmlcatalog (1),
+.IR xmllint (1),
+.IR xml2-config (1).
+.SH NOTES
+Source for libxml is available on http://opensolaris.org.
+Documentation for libxml is available on-line at http://www.xmlsoft.org/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/libxml2-26.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,47 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/library/python-2/libxml2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="The XML library - Python 2.6 bindings"
+set name=info.classification value=org.opensolaris.category.2008:Development/Python
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set name=info.upstream_url value="http://xmlsoft.org"
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+
+dir path=usr
+dir path=usr/lib
+dir path=usr/lib/python2.6
+dir path=usr/lib/python2.6/vendor-packages
+dir path=usr/lib/python2.6/vendor-packages/64
+
+file path=usr/lib/python2.6/vendor-packages/64/libxml2mod.so
+file path=usr/lib/python2.6/vendor-packages/drv_libxml2.py
+file path=usr/lib/python2.6/vendor-packages/libxml2.py
+file path=usr/lib/python2.6/vendor-packages/libxml2mod.so
+
+license libxml2.license license="libxml license"
+
+legacy pkg=SUNWlxml-python26 \
+    name="The XML library - Python 2.6 bindings" \
+    desc="The XML library - Python 2.6 bindings"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/libxml2.3	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,1 @@
+.so man3/libxml.3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/libxml2.license	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,27 @@
+Except where otherwise noted in the source code (e.g. the files hash.c,
+list.c and the trio files, which are covered by a similar licence but
+with different Copyright notices) all the files are:
+
+ Copyright (C) 1998-2003 Daniel Veillard.  All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is fur-
+nished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of Daniel Veillard shall not
+be used in advertising or otherwise to promote the sale, use or other deal-
+ings in this Software without prior written authorization from him.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/libxml2.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,131 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/library/libxml2@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="The XML library"
+set name=info.classification value=org.opensolaris.category.2008:System/Libraries
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set name=info.upstream_url value="http://xmlsoft.org"
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+
+dir path=lib
+dir path=lib/$(MACH64)
+dir path=usr
+dir path=usr/bin
+dir path=usr/include
+dir path=usr/include/libxml2
+dir path=usr/include/libxml2/libxml
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+dir path=usr/lib/$(MACH64)/pkgconfig
+dir path=usr/lib/pkgconfig
+dir path=usr/share
+dir path=usr/share/aclocal
+dir path=usr/share/man
+dir path=usr/share/man/man1
+dir path=usr/share/man/man3
+
+file usr/lib/$(MACH64)/libxml2.so.2 path=lib/$(MACH64)/libxml2.so.2
+file $(MACH64)/llib-lxml2.ln path=lib/$(MACH64)/llib-lxml2.ln
+file usr/lib/libxml2.so.2 path=lib/libxml2.so.2
+file $(MACH32)/llib-lxml2.ln path=lib/llib-lxml2.ln
+file path=usr/bin/xml2-config
+file path=usr/bin/xmlcatalog
+file path=usr/bin/xmllint
+file path=usr/include/libxml2/libxml/DOCBparser.h
+file path=usr/include/libxml2/libxml/HTMLparser.h
+file path=usr/include/libxml2/libxml/HTMLtree.h
+file path=usr/include/libxml2/libxml/SAX.h
+file path=usr/include/libxml2/libxml/SAX2.h
+file path=usr/include/libxml2/libxml/c14n.h
+file path=usr/include/libxml2/libxml/catalog.h
+file path=usr/include/libxml2/libxml/chvalid.h
+file path=usr/include/libxml2/libxml/debugXML.h
+file path=usr/include/libxml2/libxml/dict.h
+file path=usr/include/libxml2/libxml/encoding.h
+file path=usr/include/libxml2/libxml/entities.h
+file path=usr/include/libxml2/libxml/globals.h
+file path=usr/include/libxml2/libxml/hash.h
+file path=usr/include/libxml2/libxml/list.h
+file path=usr/include/libxml2/libxml/nanoftp.h
+file path=usr/include/libxml2/libxml/nanohttp.h
+file path=usr/include/libxml2/libxml/parser.h
+file path=usr/include/libxml2/libxml/parserInternals.h
+file path=usr/include/libxml2/libxml/pattern.h
+file path=usr/include/libxml2/libxml/relaxng.h
+file path=usr/include/libxml2/libxml/schemasInternals.h
+file path=usr/include/libxml2/libxml/schematron.h
+file path=usr/include/libxml2/libxml/threads.h
+file path=usr/include/libxml2/libxml/tree.h
+file path=usr/include/libxml2/libxml/uri.h
+file path=usr/include/libxml2/libxml/valid.h
+file path=usr/include/libxml2/libxml/xinclude.h
+file path=usr/include/libxml2/libxml/xlink.h
+file path=usr/include/libxml2/libxml/xmlIO.h
+file path=usr/include/libxml2/libxml/xmlautomata.h
+file path=usr/include/libxml2/libxml/xmlerror.h
+file path=usr/include/libxml2/libxml/xmlexports.h
+file path=usr/include/libxml2/libxml/xmlmemory.h
+file path=usr/include/libxml2/libxml/xmlmodule.h
+file path=usr/include/libxml2/libxml/xmlreader.h
+file path=usr/include/libxml2/libxml/xmlregexp.h
+file path=usr/include/libxml2/libxml/xmlsave.h
+file path=usr/include/libxml2/libxml/xmlschemas.h
+file path=usr/include/libxml2/libxml/xmlschemastypes.h
+file path=usr/include/libxml2/libxml/xmlstring.h
+file path=usr/include/libxml2/libxml/xmlunicode.h
+file path=usr/include/libxml2/libxml/xmlversion.h
+file path=usr/include/libxml2/libxml/xmlwriter.h
+file path=usr/include/libxml2/libxml/xpath.h
+file path=usr/include/libxml2/libxml/xpathInternals.h
+file path=usr/include/libxml2/libxml/xpointer.h
+file path=usr/lib/$(MACH64)/pkgconfig/libxml-2.0.pc
+file llib-lxml2 path=usr/lib/llib-lxml2
+file path=usr/lib/pkgconfig/libxml-2.0.pc
+file path=usr/share/aclocal/libxml.m4
+file xml2-config.1 path=usr/share/man/man1/xml2-config.1
+file xmlcatalog.1 path=usr/share/man/man1/xmlcatalog.1
+file xmllint.1 path=usr/share/man/man1/xmllint.1
+file libxml.3 path=usr/share/man/man3/libxml.3
+file libxml2.3 path=usr/share/man/man3/libxml2.3
+
+link path=lib/$(MACH64)/libxml2.so target=libxml2.so.2
+link path=lib/libxml2.so target=libxml2.so.2
+link path=usr/lib/$(MACH64)/libxml2.so target=libxml2.so.2
+link path=usr/lib/$(MACH64)/libxml2.so.2 target=../../../lib/$(MACH64)/libxml2.so.2
+link path=usr/lib/$(MACH64)/llib-lxml2.ln target=../../../lib/$(MACH64)/llib-lxml2.ln
+link path=usr/lib/libxml2.so target=./libxml2.so.2
+link path=usr/lib/libxml2.so.2 target=../../lib/libxml2.so.2
+link path=usr/lib/llib-lxml2.ln target=../../lib/llib-lxml2.ln
+
+license libxml2.license license="libxml license"
+
+legacy pkg=SUNWlxml \
+    name="The XML library" \
+    desc="The XML library"
+legacy pkg=SUNWlxml-devel \
+    name="The XML library - developer files" \
+    desc="The XML library - developer files"
+legacy pkg=SUNWlxmlr \
+    name="The XML library (Root)" \
+    desc="The XML library (Root)" 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/llib-lxml2	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,84 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ */
+
+/* LINTLIBRARY */
+/* PROTOLIB1 */
+
+/*
+ * This little dance is necessary to avoid ftello/fseeko
+ * complaints vs libc. We don't use them but we do #include
+ * stdio.h and as we are large file aware they get defined
+ * differently than libc.
+ */
+#include <sys/types.h>
+#undef _LARGEFILE_SOURCE
+
+#include <libxml/DOCBparser.h>
+#include <libxml/HTMLparser.h>
+#include <libxml/HTMLtree.h>
+#include <libxml/SAX.h>
+#include <libxml/SAX2.h>
+#include <libxml/c14n.h>
+#include <libxml/catalog.h>
+#include <libxml/chvalid.h>
+#include <libxml/debugXML.h>
+#include <libxml/dict.h>
+#include <libxml/encoding.h>
+#include <libxml/entities.h>
+#include <libxml/globals.h>
+#include <libxml/hash.h>
+#include <libxml/list.h>
+#include <libxml/nanoftp.h>
+#include <libxml/nanohttp.h>
+#include <libxml/parser.h>
+#include <libxml/parserInternals.h>
+#include <libxml/pattern.h>
+#include <libxml/relaxng.h>
+#include <libxml/schemasInternals.h>
+#include <libxml/schematron.h>
+#include <libxml/threads.h>
+#include <libxml/tree.h>
+#include <libxml/uri.h>
+#include <libxml/valid.h>
+#include <libxml/xinclude.h>
+#include <libxml/xlink.h>
+#include <libxml/xmlIO.h>
+#include <libxml/xmlautomata.h>
+#include <libxml/xmlerror.h>
+#include <libxml/xmlexports.h>
+#include <libxml/xmlmemory.h>
+#include <libxml/xmlmodule.h>
+#include <libxml/xmlreader.h>
+#include <libxml/xmlregexp.h>
+#include <libxml/xmlsave.h>
+#include <libxml/xmlschemas.h>
+#include <libxml/xmlschemastypes.h>
+#include <libxml/xmlstring.h>
+#include <libxml/xmlunicode.h>
+#include <libxml/xmlversion.h>
+#include <libxml/xmlwriter.h>
+#include <libxml/xpath.h>
+#include <libxml/xpathInternals.h>
+#include <libxml/xpointer.h>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/mapfile	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,1778 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# MAPFILE HEADER START
+#
+# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+#	usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+# Note that the source above actually lives in the ON tree.
+#
+# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+# public interfaces in libxml2
+#
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.8 {
+	global:
+		xmlChildElementCount;
+		xmlFirstElementChild;
+		xmlLastElementChild;
+		xmlMemDisplayLast;
+		xmlNewEntity;
+		xmlNextElementSibling;
+		xmlPreviousElementSibling;
+		xmlSchemaValidCtxtGetParserCtxt;
+		xmlSchematronSetValidStructuredErrors;
+		xmlStructuredErrorContext;
+		xmlXIncludeProcessTreeFlagsData;
+} SUNW_1.7;
+
+SYMBOL_VERSION SUNW_1.7 {
+	global:
+		__xmlOutputBufferCreateFilename;
+		__xmlParserInputBufferCreateFilename;
+		htmlNewParserCtxt;
+		xmlDOMWrapCloneNode;
+		xmlPathToURI;
+		xmlRelaxNGSetParserStructuredErrors;
+		xmlTextReaderSetup;
+		xmlXIncludeProcessFlagsData;
+		xmlXPathCompiledEvalToBoolean;
+		xmlXPathContextSetCache;
+} SUNW_1.6;
+
+SYMBOL_VERSION SUNW_1.6 {
+	global:
+		__xmlLastError;
+		__xmlOutputBufferCreateFilenameValue;
+		__xmlParserInputBufferCreateFilenameValue;
+		__xmlStructuredError;
+		emptyExp;
+		forbiddenExp;
+		htmlDocDumpMemoryFormat;
+		xmlAutomataNewCountTrans2;
+		xmlAutomataNewNegTrans;
+		xmlAutomataNewOnceTrans2;
+		xmlBuildRelativeURI;
+		xmlCopyDocElementContent;
+		xmlDOMWrapAdoptNode;
+		xmlDOMWrapFreeCtxt;
+		xmlDOMWrapNewCtxt;
+		xmlDOMWrapReconcileNamespaces;
+		xmlDOMWrapRemoveNode;
+		xmlDebugCheckDocument;
+		xmlDictCleanup;
+		xmlDictExists;
+		xmlDocCopyNodeList;
+		xmlExpCtxtNbCons;
+		xmlExpCtxtNbNodes;
+		xmlExpDump;
+		xmlExpExpDerive;
+		xmlExpFree;
+		xmlExpFreeCtxt;
+		xmlExpGetLanguage;
+		xmlExpGetStart;
+		xmlExpIsNillable;
+		xmlExpMaxToken;
+		xmlExpNewAtom;
+		xmlExpNewCtxt;
+		xmlExpNewOr;
+		xmlExpNewRange;
+		xmlExpNewSeq;
+		xmlExpParse;
+		xmlExpRef;
+		xmlExpStringDerive;
+		xmlExpSubsume;
+		xmlFreeDocElementContent;
+		xmlFreeStreamCtxt;
+		xmlHasFeature;
+		xmlHashCreateDict;
+		xmlMemBlocks;
+		xmlModuleClose;
+		xmlModuleFree;
+		xmlModuleOpen;
+		xmlModuleSymbol;
+		xmlNewDocElementContent;
+		xmlNewDocPI;
+		xmlOutputBufferCreateBuffer;
+		xmlOutputBufferCreateFilenameDefault;
+		xmlOutputBufferCreateFilenameValue;
+		xmlParseInNodeContext;
+		xmlParseURIRaw;
+		xmlParserInputBufferCreateFilenameDefault;
+		xmlParserInputBufferCreateFilenameValue;
+		xmlPatternFromRoot;
+		xmlPatternGetStreamCtxt;
+		xmlPatternMaxDepth;
+		xmlPatternMinDepth;
+		xmlPatternStreamable;
+		xmlRegExecErrInfo;
+		xmlRegExecNextValues;
+		xmlRelaxNGInitTypes;
+		xmlRelaxNGSetValidStructuredErrors;
+		xmlSaveToBuffer;
+		xmlSchemaCollapseString;
+		xmlSchemaCompareValuesWhtsp;
+		xmlSchemaCopyValue;
+		xmlSchemaFreeWildcard;
+		xmlSchemaGetBuiltInListSimpleTypeItemType;
+		xmlSchemaGetBuiltInType;
+		xmlSchemaGetCanonValue;
+		xmlSchemaGetCanonValueWhtsp;
+		xmlSchemaGetFacetValueAsULong;
+		xmlSchemaGetParserErrors;
+		xmlSchemaGetValType;
+		xmlSchemaGetValidErrors;
+		xmlSchemaIsBuiltInTypeFacet;
+		xmlSchemaIsValid;
+		xmlSchemaNewNOTATIONValue;
+		xmlSchemaNewQNameValue;
+		xmlSchemaNewStringValue;
+		xmlSchemaSAXPlug;
+		xmlSchemaSAXUnplug;
+		xmlSchemaSetParserStructuredErrors;
+		xmlSchemaSetValidOptions;
+		xmlSchemaSetValidStructuredErrors;
+		xmlSchemaValPredefTypeNodeNoNorm;
+		xmlSchemaValidCtxtGetOptions;
+		xmlSchemaValidateFacetWhtsp;
+		xmlSchemaValidateFile;
+		xmlSchemaValidateLengthFacet;
+		xmlSchemaValidateLengthFacetWhtsp;
+		xmlSchemaValidateListSimpleTypeFacet;
+		xmlSchemaValidateOneElement;
+		xmlSchemaValueAppend;
+		xmlSchemaValueGetAsBoolean;
+		xmlSchemaValueGetAsString;
+		xmlSchemaValueGetNext;
+		xmlSchemaWhiteSpaceReplace;
+		xmlSchematronFree;
+		xmlSchematronFreeParserCtxt;
+		xmlSchematronFreeValidCtxt;
+		xmlSchematronNewDocParserCtxt;
+		xmlSchematronNewMemParserCtxt;
+		xmlSchematronNewParserCtxt;
+		xmlSchematronNewValidCtxt;
+		xmlSchematronParse;
+		xmlSchematronValidateDoc;
+		xmlStreamPop;
+		xmlStreamPush;
+		xmlStreamPushAttr;
+		xmlStreamPushNode;
+		xmlStreamWantsAnyNode;
+		xmlTextReaderByteConsumed;
+		xmlTextReaderConstEncoding;
+		xmlTextReaderConstXmlVersion;
+		xmlTextReaderGetParserColumnNumber;
+		xmlTextReaderGetParserLineNumber;
+		xmlTextReaderIsNamespaceDecl;
+		xmlTextReaderSchemaValidate;
+		xmlTextReaderSchemaValidateCtxt;
+		xmlTextReaderSetSchema;
+		xmlTextReaderStandalone;
+		xmlThrDefOutputBufferCreateFilenameDefault;
+		xmlThrDefParserInputBufferCreateFilenameDefault;
+} SUNW_1.5;
+
+SYMBOL_VERSION SUNW_1.5 {
+	global:
+		xmlAttrSerializeTxtContent;
+		xmlByteConsumed;
+		xmlCleanupMemory;
+		xmlDictCreateSub;
+		xmlOutputBufferWriteEscape;
+		xmlPopInputCallbacks;
+		xmlRelaxParserSetFlag;
+		xmlSaveClose;
+		xmlSaveDoc;
+		xmlSaveFlush;
+		xmlSaveSetAttrEscape;
+		xmlSaveSetEscape;
+		xmlSaveToFd;
+		xmlSaveToFilename;
+		xmlSaveToIO;
+		xmlSaveTree;
+		xmlStrncatNew;
+		xmlTextReaderSetStructuredErrorHandler;
+		xmlTextWriterEndComment;
+		xmlTextWriterEndDTDAttlist;
+		xmlTextWriterEndDTDElement;
+		xmlTextWriterEndDTDEntity;
+		xmlTextWriterSetIndent;
+		xmlTextWriterSetIndentString;
+		xmlTextWriterStartComment;
+		xmlTextWriterWriteDTDExternalEntityContents;
+		xmlXPathCtxtCompile;
+} SUNW_1.4;
+
+SYMBOL_VERSION SUNW_1.4 {
+	global:
+		htmlCreateMemoryParserCtxt;
+		htmlCtxtReadDoc;
+		htmlCtxtReadFd;
+		htmlCtxtReadFile;
+		htmlCtxtReadIO;
+		htmlCtxtReadMemory;
+		htmlCtxtReset;
+		htmlCtxtUseOptions;
+		htmlReadDoc;
+		htmlReadFd;
+		htmlReadFile;
+		htmlReadIO;
+		htmlReadMemory;
+		xmlAutomataNewTransition2;
+		xmlBufferCreateStatic;
+		xmlBuildQName;
+		xmlCharInRange;
+		xmlCheckHTTPInput;
+		xmlCleanupGlobals;
+		xmlCopyError;
+		xmlCreateURLParserCtxt;
+		xmlCtxtGetLastError;
+		xmlCtxtReadDoc;
+		xmlCtxtReadFd;
+		xmlCtxtReadFile;
+		xmlCtxtReadIO;
+		xmlCtxtReadMemory;
+		xmlCtxtReset;
+		xmlCtxtResetLastError;
+		xmlCtxtResetPush;
+		xmlCtxtUseOptions;
+		xmlDictCreate;
+		xmlDictFree;
+		xmlDictLookup;
+		xmlDictOwns;
+		xmlDictQLookup;
+		xmlDictReference;
+		xmlDictSize;
+		xmlErrMemory;
+		xmlFreePattern;
+		xmlFreePatternList;
+		xmlFreeTextWriter;
+		xmlGcMemGet;
+		xmlGcMemSetup;
+		xmlGetLastError;
+		xmlHashQLookup;
+		xmlHashQLookup2;
+		xmlHashQLookup3;
+		xmlInitGlobals;
+		xmlMallocAtomicLoc;
+		xmlNanoFTPDele;
+		xmlNanoHTTPEncoding;
+		xmlNanoHTTPMimeType;
+		xmlNanoHTTPRedir;
+		xmlNewTextWriter;
+		xmlNewTextWriterDoc;
+		xmlNewTextWriterFilename;
+		xmlNewTextWriterMemory;
+		xmlNewTextWriterPushParser;
+		xmlNewTextWriterTree;
+		xmlNodeBufGetContent;
+		xmlParserInputBufferCreateStatic;
+		xmlPatternMatch;
+		xmlPatterncompile;
+		xmlReadDoc;
+		xmlReadFd;
+		xmlReadFile;
+		xmlReadIO;
+		xmlReadMemory;
+		xmlReaderForDoc;
+		xmlReaderForFd;
+		xmlReaderForFile;
+		xmlReaderForIO;
+		xmlReaderForMemory;
+		xmlReaderNewDoc;
+		xmlReaderNewFd;
+		xmlReaderNewFile;
+		xmlReaderNewIO;
+		xmlReaderNewMemory;
+		xmlReaderNewWalker;
+		xmlReaderWalker;
+		xmlRegExecPushString2;
+		xmlRelaxNGGetParserErrors;
+		xmlRelaxNGGetValidErrors;
+		xmlRelaxNGNewDocParserCtxt;
+		xmlRelaxNGValidateFullElement;
+		xmlRelaxNGValidatePopElement;
+		xmlRelaxNGValidatePushCData;
+		xmlRelaxNGValidatePushElement;
+		xmlResetError;
+		xmlResetLastError;
+		xmlSAX2AttributeDecl;
+		xmlSAX2CDataBlock;
+		xmlSAX2Characters;
+		xmlSAX2Comment;
+		xmlSAX2ElementDecl;
+		xmlSAX2EndDocument;
+		xmlSAX2EndElement;
+		xmlSAX2EndElementNs;
+		xmlSAX2EntityDecl;
+		xmlSAX2ExternalSubset;
+		xmlSAX2GetColumnNumber;
+		xmlSAX2GetEntity;
+		xmlSAX2GetLineNumber;
+		xmlSAX2GetParameterEntity;
+		xmlSAX2GetPublicId;
+		xmlSAX2GetSystemId;
+		xmlSAX2HasExternalSubset;
+		xmlSAX2HasInternalSubset;
+		xmlSAX2IgnorableWhitespace;
+		xmlSAX2InitDefaultSAXHandler;
+		xmlSAX2InitDocbDefaultSAXHandler;
+		xmlSAX2InitHtmlDefaultSAXHandler;
+		xmlSAX2InternalSubset;
+		xmlSAX2IsStandalone;
+		xmlSAX2NotationDecl;
+		xmlSAX2ProcessingInstruction;
+		xmlSAX2Reference;
+		xmlSAX2ResolveEntity;
+		xmlSAX2SetDocumentLocator;
+		xmlSAX2StartDocument;
+		xmlSAX2StartElement;
+		xmlSAX2StartElementNs;
+		xmlSAX2UnparsedEntityDecl;
+		xmlSAXDefaultVersion;
+		xmlSAXVersion;
+		xmlSchemaCheckFacet;
+		xmlSchemaCompareValues;
+		xmlSchemaFreeFacet;
+		xmlSchemaNewDocParserCtxt;
+		xmlSchemaNewFacet;
+		xmlSchemaValPredefTypeNode;
+		xmlSetStructuredErrorFunc;
+		xmlSplitQName3;
+		xmlStrPrintf;
+		xmlStrQEqual;
+		xmlStrVPrintf;
+		xmlStringLenDecodeEntities;
+		xmlSwitchInputEncoding;
+		xmlTextReaderConstBaseUri;
+		xmlTextReaderConstLocalName;
+		xmlTextReaderConstName;
+		xmlTextReaderConstNamespaceUri;
+		xmlTextReaderConstPrefix;
+		xmlTextReaderConstString;
+		xmlTextReaderConstValue;
+		xmlTextReaderConstXmlLang;
+		xmlTextReaderExpand;
+		xmlTextReaderIsValid;
+		xmlTextReaderNext;
+		xmlTextReaderNextSibling;
+		xmlTextReaderPreserve;
+		xmlTextReaderPreservePattern;
+		xmlTextReaderRelaxNGSetSchema;
+		xmlTextReaderRelaxNGValidate;
+		xmlTextWriterEndAttribute;
+		xmlTextWriterEndCDATA;
+		xmlTextWriterEndDTD;
+		xmlTextWriterEndDocument;
+		xmlTextWriterEndElement;
+		xmlTextWriterEndPI;
+		xmlTextWriterFlush;
+		xmlTextWriterFullEndElement;
+		xmlTextWriterStartAttribute;
+		xmlTextWriterStartAttributeNS;
+		xmlTextWriterStartCDATA;
+		xmlTextWriterStartDTD;
+		xmlTextWriterStartDTDAttlist;
+		xmlTextWriterStartDTDElement;
+		xmlTextWriterStartDTDEntity;
+		xmlTextWriterStartDocument;
+		xmlTextWriterStartElement;
+		xmlTextWriterStartElementNS;
+		xmlTextWriterStartPI;
+		xmlTextWriterWriteAttribute;
+		xmlTextWriterWriteAttributeNS;
+		xmlTextWriterWriteBase64;
+		xmlTextWriterWriteBinHex;
+		xmlTextWriterWriteCDATA;
+		xmlTextWriterWriteComment;
+		xmlTextWriterWriteDTD;
+		xmlTextWriterWriteDTDAttlist;
+		xmlTextWriterWriteDTDElement;
+		xmlTextWriterWriteDTDEntity;
+		xmlTextWriterWriteDTDExternalEntity;
+		xmlTextWriterWriteDTDInternalEntity;
+		xmlTextWriterWriteDTDNotation;
+		xmlTextWriterWriteElement;
+		xmlTextWriterWriteElementNS;
+		xmlTextWriterWriteFormatAttribute;
+		xmlTextWriterWriteFormatAttributeNS;
+		xmlTextWriterWriteFormatCDATA;
+		xmlTextWriterWriteFormatComment;
+		xmlTextWriterWriteFormatDTD;
+		xmlTextWriterWriteFormatDTDAttlist;
+		xmlTextWriterWriteFormatDTDElement;
+		xmlTextWriterWriteFormatDTDInternalEntity;
+		xmlTextWriterWriteFormatElement;
+		xmlTextWriterWriteFormatElementNS;
+		xmlTextWriterWriteFormatPI;
+		xmlTextWriterWriteFormatRaw;
+		xmlTextWriterWriteFormatString;
+		xmlTextWriterWritePI;
+		xmlTextWriterWriteRaw;
+		xmlTextWriterWriteRawLen;
+		xmlTextWriterWriteString;
+		xmlTextWriterWriteVFormatAttribute;
+		xmlTextWriterWriteVFormatAttributeNS;
+		xmlTextWriterWriteVFormatCDATA;
+		xmlTextWriterWriteVFormatComment;
+		xmlTextWriterWriteVFormatDTD;
+		xmlTextWriterWriteVFormatDTDAttlist;
+		xmlTextWriterWriteVFormatDTDElement;
+		xmlTextWriterWriteVFormatDTDInternalEntity;
+		xmlTextWriterWriteVFormatElement;
+		xmlTextWriterWriteVFormatElementNS;
+		xmlTextWriterWriteVFormatPI;
+		xmlTextWriterWriteVFormatRaw;
+		xmlTextWriterWriteVFormatString;
+		xmlThrDefBufferAllocScheme;
+		xmlThrDefDefaultBufferSize;
+		xmlThrDefDeregisterNodeDefault;
+		xmlThrDefDoValidityCheckingDefaultValue;
+		xmlThrDefGetWarningsDefaultValue;
+		xmlThrDefIndentTreeOutput;
+		xmlThrDefKeepBlanksDefaultValue;
+		xmlThrDefLineNumbersDefaultValue;
+		xmlThrDefLoadExtDtdDefaultValue;
+		xmlThrDefParserDebugEntities;
+		xmlThrDefPedanticParserDefaultValue;
+		xmlThrDefRegisterNodeDefault;
+		xmlThrDefSaveNoEmptyTags;
+		xmlThrDefSetGenericErrorFunc;
+		xmlThrDefSetStructuredErrorFunc;
+		xmlThrDefSubstituteEntitiesDefaultValue;
+		xmlThrDefTreeIndentString;
+		xmlUCSIsAegeanNumbers;
+		xmlUCSIsBuhid;
+		xmlUCSIsCombiningDiacriticalMarksforSymbols;
+		xmlUCSIsCypriotSyllabary;
+		xmlUCSIsCyrillicSupplement;
+		xmlUCSIsGreekandCoptic;
+		xmlUCSIsHanunoo;
+		xmlUCSIsKatakanaPhoneticExtensions;
+		xmlUCSIsKhmerSymbols;
+		xmlUCSIsLimbu;
+		xmlUCSIsLinearBIdeograms;
+		xmlUCSIsLinearBSyllabary;
+		xmlUCSIsMiscellaneousMathematicalSymbolsA;
+		xmlUCSIsMiscellaneousMathematicalSymbolsB;
+		xmlUCSIsMiscellaneousSymbolsandArrows;
+		xmlUCSIsOsmanya;
+		xmlUCSIsPhoneticExtensions;
+		xmlUCSIsPrivateUseArea;
+		xmlUCSIsShavian;
+		xmlUCSIsSupplementalArrowsA;
+		xmlUCSIsSupplementalArrowsB;
+		xmlUCSIsSupplementalMathematicalOperators;
+		xmlUCSIsSupplementaryPrivateUseAreaA;
+		xmlUCSIsSupplementaryPrivateUseAreaB;
+		xmlUCSIsTagalog;
+		xmlUCSIsTagbanwa;
+		xmlUCSIsTaiLe;
+		xmlUCSIsTaiXuanJingSymbols;
+		xmlUCSIsUgaritic;
+		xmlUCSIsVariationSelectors;
+		xmlUCSIsVariationSelectorsSupplement;
+		xmlUCSIsYijingHexagramSymbols;
+		xmlUTF8Charcmp;
+		xmlUTF8Size;
+		xmlXIncludeFreeContext;
+		xmlXIncludeNewContext;
+		xmlXIncludeProcessFlags;
+		xmlXIncludeProcessNode;
+		xmlXIncludeProcessTree;
+		xmlXIncludeProcessTreeFlags;
+		xmlXIncludeSetFlags;
+		xmlXPathErr;
+		xmlXPathOrderDocElems;
+		xmlIsBaseCharGroup;
+		xmlIsCharGroup;
+		xmlIsCombiningGroup;
+		xmlIsDigitGroup;
+		xmlIsExtenderGroup;
+		xmlIsIdeographicGroup;
+		xmlIsPubidChar_tab;
+		xmlLastError;
+		xmlMallocAtomic;
+		xmlParserMaxDepth;
+		xmlSaveNoEmptyTagsThrDef;
+		xmlStructuredError;
+		xmlUnicodeBlockTbl;
+		xmlUnicodeCatTbl;
+} SUNW_1.3;
+
+SYMBOL_VERSION SUNW_1.3 {
+	global:
+		xmlNewValidCtxt;
+		xmlFreeValidCtxt;
+} SUNW_1.2;
+
+SYMBOL_VERSION SUNW_1.2 {
+	global:
+		__xmlDeregisterNodeDefaultValue;
+		__xmlRegisterNodeDefaultValue;
+		htmlAttrAllowed;
+		htmlElementAllowedHere;
+		htmlElementStatusHere;
+		htmlIsBooleanAttr;
+		htmlNodeStatus;
+		xmlAutomataCompile;
+		xmlAutomataGetInitState;
+		xmlAutomataIsDeterminist;
+		xmlAutomataNewAllTrans;
+		xmlAutomataNewCountTrans;
+		xmlAutomataNewCountedTrans;
+		xmlAutomataNewCounter;
+		xmlAutomataNewCounterTrans;
+		xmlAutomataNewEpsilon;
+		xmlAutomataNewOnceTrans;
+		xmlAutomataNewState;
+		xmlAutomataNewTransition;
+		xmlAutomataSetFinalState;
+		xmlC14NExecute;
+		xmlCanonicPath;
+		xmlCheckFilename;
+		xmlDeregisterNodeDefault;
+		xmlFreeAutomata;
+		xmlFreeTextReader;
+		xmlGetNoNsProp;
+		xmlGetUTF8Char;
+		xmlIsXHTML;
+		xmlNewAutomata;
+		xmlNewCharEncodingHandler;
+		xmlNewTextReader;
+		xmlNewTextReaderFilename;
+		xmlNormalizeWindowsPath;
+		xmlNsListDumpOutput;
+		xmlParseBalancedChunkMemoryRecover;
+		xmlRegExecPushString;
+		xmlRegFreeExecCtxt;
+		xmlRegFreeRegexp;
+		xmlRegNewExecCtxt;
+		xmlRegexpCompile;
+		xmlRegexpExec;
+		xmlRegexpIsDeterminist;
+		xmlRegexpPrint;
+		xmlRegisterNodeDefault;
+		xmlRelaxNGCleanupTypes;
+		xmlRelaxNGDump;
+		xmlRelaxNGDumpTree;
+		xmlRelaxNGFree;
+		xmlRelaxNGFreeParserCtxt;
+		xmlRelaxNGFreeValidCtxt;
+		xmlRelaxNGNewMemParserCtxt;
+		xmlRelaxNGNewParserCtxt;
+		xmlRelaxNGNewValidCtxt;
+		xmlRelaxNGParse;
+		xmlRelaxNGSetParserErrors;
+		xmlRelaxNGSetValidErrors;
+		xmlRelaxNGValidateDoc;
+		xmlSAXParseMemoryWithData;
+		xmlSchemaCleanupTypes;
+		xmlSchemaDump;
+		xmlSchemaFree;
+		xmlSchemaFreeParserCtxt;
+		xmlSchemaFreeType;
+		xmlSchemaFreeValidCtxt;
+		xmlSchemaFreeValue;
+		xmlSchemaGetPredefinedType;
+		xmlSchemaInitTypes;
+		xmlSchemaNewMemParserCtxt;
+		xmlSchemaNewParserCtxt;
+		xmlSchemaNewValidCtxt;
+		xmlSchemaParse;
+		xmlSchemaSetParserErrors;
+		xmlSchemaSetValidErrors;
+		xmlSchemaValidateDoc;
+		xmlSchemaValidateFacet;
+		xmlSchemaValidatePredefinedType;
+		xmlSchemaValidateStream;
+		xmlTextReaderAttributeCount;
+		xmlTextReaderBaseUri;
+		xmlTextReaderClose;
+		xmlTextReaderCurrentDoc;
+		xmlTextReaderCurrentNode;
+		xmlTextReaderDepth;
+		xmlTextReaderGetAttribute;
+		xmlTextReaderGetAttributeNo;
+		xmlTextReaderGetAttributeNs;
+		xmlTextReaderGetErrorHandler;
+		xmlTextReaderGetParserProp;
+		xmlTextReaderGetRemainder;
+		xmlTextReaderHasAttributes;
+		xmlTextReaderHasValue;
+		xmlTextReaderIsDefault;
+		xmlTextReaderIsEmptyElement;
+		xmlTextReaderLocalName;
+		xmlTextReaderLocatorBaseURI;
+		xmlTextReaderLocatorLineNumber;
+		xmlTextReaderLookupNamespace;
+		xmlTextReaderMoveToAttribute;
+		xmlTextReaderMoveToAttributeNo;
+		xmlTextReaderMoveToAttributeNs;
+		xmlTextReaderMoveToElement;
+		xmlTextReaderMoveToFirstAttribute;
+		xmlTextReaderMoveToNextAttribute;
+		xmlTextReaderName;
+		xmlTextReaderNamespaceUri;
+		xmlTextReaderNodeType;
+		xmlTextReaderNormalization;
+		xmlTextReaderPrefix;
+		xmlTextReaderQuoteChar;
+		xmlTextReaderRead;
+		xmlTextReaderReadAttributeValue;
+		xmlTextReaderReadInnerXml;
+		xmlTextReaderReadOuterXml;
+		xmlTextReaderReadState;
+		xmlTextReaderReadString;
+		xmlTextReaderSetErrorHandler;
+		xmlTextReaderSetParserProp;
+		xmlTextReaderValue;
+		xmlTextReaderXmlLang;
+		xmlUCSIsAlphabeticPresentationForms;
+		xmlUCSIsArabic;
+		xmlUCSIsArabicPresentationFormsA;
+		xmlUCSIsArabicPresentationFormsB;
+		xmlUCSIsArmenian;
+		xmlUCSIsArrows;
+		xmlUCSIsBasicLatin;
+		xmlUCSIsBengali;
+		xmlUCSIsBlock;
+		xmlUCSIsBlockElements;
+		xmlUCSIsBopomofo;
+		xmlUCSIsBopomofoExtended;
+		xmlUCSIsBoxDrawing;
+		xmlUCSIsBraillePatterns;
+		xmlUCSIsByzantineMusicalSymbols;
+		xmlUCSIsCJKCompatibility;
+		xmlUCSIsCJKCompatibilityForms;
+		xmlUCSIsCJKCompatibilityIdeographs;
+		xmlUCSIsCJKCompatibilityIdeographsSupplement;
+		xmlUCSIsCJKRadicalsSupplement;
+		xmlUCSIsCJKSymbolsandPunctuation;
+		xmlUCSIsCJKUnifiedIdeographs;
+		xmlUCSIsCJKUnifiedIdeographsExtensionA;
+		xmlUCSIsCJKUnifiedIdeographsExtensionB;
+		xmlUCSIsCat;
+		xmlUCSIsCatC;
+		xmlUCSIsCatCc;
+		xmlUCSIsCatCf;
+		xmlUCSIsCatCo;
+		xmlUCSIsCatCs;
+		xmlUCSIsCatL;
+		xmlUCSIsCatLl;
+		xmlUCSIsCatLm;
+		xmlUCSIsCatLo;
+		xmlUCSIsCatLt;
+		xmlUCSIsCatLu;
+		xmlUCSIsCatM;
+		xmlUCSIsCatMc;
+		xmlUCSIsCatMe;
+		xmlUCSIsCatMn;
+		xmlUCSIsCatN;
+		xmlUCSIsCatNd;
+		xmlUCSIsCatNl;
+		xmlUCSIsCatNo;
+		xmlUCSIsCatP;
+		xmlUCSIsCatPc;
+		xmlUCSIsCatPd;
+		xmlUCSIsCatPe;
+		xmlUCSIsCatPf;
+		xmlUCSIsCatPi;
+		xmlUCSIsCatPo;
+		xmlUCSIsCatPs;
+		xmlUCSIsCatS;
+		xmlUCSIsCatSc;
+		xmlUCSIsCatSk;
+		xmlUCSIsCatSm;
+		xmlUCSIsCatSo;
+		xmlUCSIsCatZ;
+		xmlUCSIsCatZl;
+		xmlUCSIsCatZp;
+		xmlUCSIsCatZs;
+		xmlUCSIsCherokee;
+		xmlUCSIsCombiningDiacriticalMarks;
+		xmlUCSIsCombiningHalfMarks;
+		xmlUCSIsCombiningMarksforSymbols;
+		xmlUCSIsControlPictures;
+		xmlUCSIsCurrencySymbols;
+		xmlUCSIsCyrillic;
+		xmlUCSIsDeseret;
+		xmlUCSIsDevanagari;
+		xmlUCSIsDingbats;
+		xmlUCSIsEnclosedAlphanumerics;
+		xmlUCSIsEnclosedCJKLettersandMonths;
+		xmlUCSIsEthiopic;
+		xmlUCSIsGeneralPunctuation;
+		xmlUCSIsGeometricShapes;
+		xmlUCSIsGeorgian;
+		xmlUCSIsGothic;
+		xmlUCSIsGreek;
+		xmlUCSIsGreekExtended;
+		xmlUCSIsGujarati;
+		xmlUCSIsGurmukhi;
+		xmlUCSIsHalfwidthandFullwidthForms;
+		xmlUCSIsHangulCompatibilityJamo;
+		xmlUCSIsHangulJamo;
+		xmlUCSIsHangulSyllables;
+		xmlUCSIsHebrew;
+		xmlUCSIsHighPrivateUseSurrogates;
+		xmlUCSIsHighSurrogates;
+		xmlUCSIsHiragana;
+		xmlUCSIsIPAExtensions;
+		xmlUCSIsIdeographicDescriptionCharacters;
+		xmlUCSIsKanbun;
+		xmlUCSIsKangxiRadicals;
+		xmlUCSIsKannada;
+		xmlUCSIsKatakana;
+		xmlUCSIsKhmer;
+		xmlUCSIsLao;
+		xmlUCSIsLatin1Supplement;
+		xmlUCSIsLatinExtendedA;
+		xmlUCSIsLatinExtendedAdditional;
+		xmlUCSIsLatinExtendedB;
+		xmlUCSIsLetterlikeSymbols;
+		xmlUCSIsLowSurrogates;
+		xmlUCSIsMalayalam;
+		xmlUCSIsMathematicalAlphanumericSymbols;
+		xmlUCSIsMathematicalOperators;
+		xmlUCSIsMiscellaneousSymbols;
+		xmlUCSIsMiscellaneousTechnical;
+		xmlUCSIsMongolian;
+		xmlUCSIsMusicalSymbols;
+		xmlUCSIsMyanmar;
+		xmlUCSIsNumberForms;
+		xmlUCSIsOgham;
+		xmlUCSIsOldItalic;
+		xmlUCSIsOpticalCharacterRecognition;
+		xmlUCSIsOriya;
+		xmlUCSIsPrivateUse;
+		xmlUCSIsRunic;
+		xmlUCSIsSinhala;
+		xmlUCSIsSmallFormVariants;
+		xmlUCSIsSpacingModifierLetters;
+		xmlUCSIsSpecials;
+		xmlUCSIsSuperscriptsandSubscripts;
+		xmlUCSIsSyriac;
+		xmlUCSIsTags;
+		xmlUCSIsTamil;
+		xmlUCSIsTelugu;
+		xmlUCSIsThaana;
+		xmlUCSIsThai;
+		xmlUCSIsTibetan;
+		xmlUCSIsUnifiedCanadianAboriginalSyllabics;
+		xmlUCSIsYiRadicals;
+		xmlUCSIsYiSyllables;
+		xmlValidBuildContentModel;
+		xmlValidateNCName;
+		xmlValidateNMToken;
+		xmlValidateName;
+		xmlValidateOneNamespace;
+		xmlValidatePopElement;
+		xmlValidatePushCData;
+		xmlValidatePushElement;
+		xmlValidateQName;
+		xmlXPathNotEqualValues;
+		xmlDeregisterNodeDefaultValue;
+		xmlRegisterNodeDefaultValue;
+} SUNW_1.1;
+
+SYMBOL_VERSION SUNW_1.1 {
+	global:
+		UTF8ToHtml;
+		UTF8Toisolat1;
+		__docbDefaultSAXHandler;
+		__htmlDefaultSAXHandler;
+		__oldXMLWDcompatibility;
+		__xmlBufferAllocScheme;
+		__xmlDefaultBufferSize;
+		__xmlDefaultSAXHandler;
+		__xmlDefaultSAXLocator;
+		__xmlDoValidityCheckingDefaultValue;
+		__xmlGenericError;
+		__xmlGenericErrorContext;
+		__xmlGetWarningsDefaultValue;
+		__xmlIndentTreeOutput;
+		__xmlKeepBlanksDefaultValue;
+		__xmlLineNumbersDefaultValue;
+		__xmlLoadExtDtdDefaultValue;
+		__xmlParserDebugEntities;
+		__xmlParserVersion;
+		__xmlPedanticParserDefaultValue;
+		__xmlSaveNoEmptyTags;
+		__xmlSubstituteEntitiesDefaultValue;
+		__xmlTreeIndentString;
+		attribute;
+		attributeDecl;
+		cdataBlock;
+		characters;
+		checkNamespace;
+		comment;
+		docbCreateFileParserCtxt;
+		docbCreatePushParserCtxt;
+		docbDefaultSAXHandlerInit;
+		docbEncodeEntities;
+		docbFreeParserCtxt;
+		docbParseChunk;
+		docbParseDoc;
+		docbParseDocument;
+		docbParseFile;
+		docbSAXParseDoc;
+		docbSAXParseFile;
+		elementDecl;
+		endDocument;
+		endElement;
+		entityDecl;
+		externalSubset;
+		getColumnNumber;
+		getEntity;
+		getLineNumber;
+		getNamespace;
+		getParameterEntity;
+		getPublicId;
+		getSystemId;
+		globalNamespace;
+		hasExternalSubset;
+		hasInternalSubset;
+		htmlAutoCloseTag;
+		htmlCreateFileParserCtxt;
+		htmlCreatePushParserCtxt;
+		htmlDecodeEntities;
+		htmlDefaultSAXHandlerInit;
+		htmlDocContentDumpFormatOutput;
+		htmlDocContentDumpOutput;
+		htmlDocDump;
+		htmlDocDumpMemory;
+		htmlEncodeEntities;
+		htmlEntityLookup;
+		htmlEntityValueLookup;
+		htmlFreeParserCtxt;
+		htmlGetMetaEncoding;
+		htmlHandleOmittedElem;
+		htmlInitAutoClose;
+		htmlIsAutoClosed;
+		htmlIsScriptAttribute;
+		htmlNewDoc;
+		htmlNewDocNoDtD;
+		htmlNodeDump;
+		htmlNodeDumpFile;
+		htmlNodeDumpFileFormat;
+		htmlNodeDumpFormatOutput;
+		htmlNodeDumpOutput;
+		htmlParseCharRef;
+		htmlParseChunk;
+		htmlParseDoc;
+		htmlParseDocument;
+		htmlParseElement;
+		htmlParseEntityRef;
+		htmlParseFile;
+		htmlSAXParseDoc;
+		htmlSAXParseFile;
+		htmlSaveFile;
+		htmlSaveFileEnc;
+		htmlSaveFileFormat;
+		htmlSetMetaEncoding;
+		htmlTagLookup;
+		ignorableWhitespace;
+		initGenericErrorDefaultFunc;
+		initdocbDefaultSAXHandler;
+		inithtmlDefaultSAXHandler;
+		initxmlDefaultSAXHandler;
+		inputPop;
+		inputPush;
+		internalSubset;
+		isStandalone;
+		isolat1ToUTF8;
+		namePop;
+		namePush;
+		namespaceDecl;
+		nodePop;
+		nodePush;
+		notationDecl;
+		processingInstruction;
+		reference;
+		resolveEntity;
+		setDocumentLocator;
+		setNamespace;
+		startDocument;
+		startElement;
+		unparsedEntityDecl;
+		valuePop;
+		valuePush;
+		xlinkGetDefaultDetect;
+		xlinkGetDefaultHandler;
+		xlinkIsLink;
+		xlinkSetDefaultDetect;
+		xlinkSetDefaultHandler;
+		xmlACatalogAdd;
+		xmlACatalogDump;
+		xmlACatalogRemove;
+		xmlACatalogResolve;
+		xmlACatalogResolvePublic;
+		xmlACatalogResolveSystem;
+		xmlACatalogResolveURI;
+		xmlAddAttributeDecl;
+		xmlAddChild;
+		xmlAddChildList;
+		xmlAddDocEntity;
+		xmlAddDtdEntity;
+		xmlAddElementDecl;
+		xmlAddEncodingAlias;
+		xmlAddID;
+		xmlAddNextSibling;
+		xmlAddNotationDecl;
+		xmlAddPrevSibling;
+		xmlAddRef;
+		xmlAddSibling;
+		xmlAllocOutputBuffer;
+		xmlAllocParserInputBuffer;
+		xmlBoolToText;
+		xmlBufferAdd;
+		xmlBufferAddHead;
+		xmlBufferCCat;
+		xmlBufferCat;
+		xmlBufferContent;
+		xmlBufferCreate;
+		xmlBufferCreateSize;
+		xmlBufferDump;
+		xmlBufferEmpty;
+		xmlBufferFree;
+		xmlBufferGrow;
+		xmlBufferLength;
+		xmlBufferResize;
+		xmlBufferSetAllocationScheme;
+		xmlBufferShrink;
+		xmlBufferWriteCHAR;
+		xmlBufferWriteChar;
+		xmlBufferWriteQuotedString;
+		xmlBuildURI;
+		xmlC14NDocDumpMemory;
+		xmlC14NDocSave;
+		xmlC14NDocSaveTo;
+		xmlCatalogAdd;
+		xmlCatalogAddLocal;
+		xmlCatalogCleanup;
+		xmlCatalogConvert;
+		xmlCatalogDump;
+		xmlCatalogFreeLocal;
+		xmlCatalogGetDefaults;
+		xmlCatalogGetPublic;
+		xmlCatalogGetSystem;
+		xmlCatalogIsEmpty;
+		xmlCatalogLocalResolve;
+		xmlCatalogLocalResolveURI;
+		xmlCatalogRemove;
+		xmlCatalogResolve;
+		xmlCatalogResolvePublic;
+		xmlCatalogResolveSystem;
+		xmlCatalogResolveURI;
+		xmlCatalogSetDebug;
+		xmlCatalogSetDefaultPrefer;
+		xmlCatalogSetDefaults;
+		xmlCharEncCloseFunc;
+		xmlCharEncFirstLine;
+		xmlCharEncInFunc;
+		xmlCharEncOutFunc;
+		xmlCharStrdup;
+		xmlCharStrndup;
+		xmlCheckLanguageID;
+		xmlCheckUTF8;
+		xmlCheckVersion;
+		xmlCleanupCharEncodingHandlers;
+		xmlCleanupEncodingAliases;
+		xmlCleanupInputCallbacks;
+		xmlCleanupOutputCallbacks;
+		xmlCleanupParser;
+		xmlCleanupPredefinedEntities;
+		xmlCleanupThreads;
+		xmlClearNodeInfoSeq;
+		xmlClearParserCtxt;
+		xmlConvertSGMLCatalog;
+		xmlCopyAttributeTable;
+		xmlCopyChar;
+		xmlCopyCharMultiByte;
+		xmlCopyDoc;
+		xmlCopyDtd;
+		xmlCopyElementContent;
+		xmlCopyElementTable;
+		xmlCopyEntitiesTable;
+		xmlCopyEnumeration;
+		xmlCopyNamespace;
+		xmlCopyNamespaceList;
+		xmlCopyNode;
+		xmlCopyNodeList;
+		xmlCopyNotationTable;
+		xmlCopyProp;
+		xmlCopyPropList;
+		xmlCreateDocParserCtxt;
+		xmlCreateEntitiesTable;
+		xmlCreateEntityParserCtxt;
+		xmlCreateEnumeration;
+		xmlCreateFileParserCtxt;
+		xmlCreateIOParserCtxt;
+		xmlCreateIntSubset;
+		xmlCreateMemoryParserCtxt;
+		xmlCreatePushParserCtxt;
+		xmlCreateURI;
+		xmlCurrentChar;
+		xmlDebugDumpAttr;
+		xmlDebugDumpAttrList;
+		xmlDebugDumpDTD;
+		xmlDebugDumpDocument;
+		xmlDebugDumpDocumentHead;
+		xmlDebugDumpEntities;
+		xmlDebugDumpNode;
+		xmlDebugDumpNodeList;
+		xmlDebugDumpOneNode;
+		xmlDebugDumpString;
+		xmlDecodeEntities;
+		xmlDefaultSAXHandlerInit;
+		xmlDelEncodingAlias;
+		xmlDetectCharEncoding;
+		xmlDocCopyNode;
+		xmlDocDump;
+		xmlDocDumpFormatMemory;
+		xmlDocDumpFormatMemoryEnc;
+		xmlDocDumpMemory;
+		xmlDocDumpMemoryEnc;
+		xmlDocFormatDump;
+		xmlDocGetRootElement;
+		xmlDocSetRootElement;
+		xmlDumpAttributeDecl;
+		xmlDumpAttributeTable;
+		xmlDumpElementDecl;
+		xmlDumpElementTable;
+		xmlDumpEntitiesTable;
+		xmlDumpEntityDecl;
+		xmlDumpNotationDecl;
+		xmlDumpNotationTable;
+		xmlElemDump;
+		xmlEncodeEntities;
+		xmlEncodeEntitiesReentrant;
+		xmlEncodeSpecialChars;
+		xmlFileClose;
+		xmlFileMatch;
+		xmlFileOpen;
+		xmlFileRead;
+		xmlFindCharEncodingHandler;
+		xmlFreeAttributeTable;
+		xmlFreeCatalog;
+		xmlFreeDoc;
+		xmlFreeDtd;
+		xmlFreeElementContent;
+		xmlFreeElementTable;
+		xmlFreeEntitiesTable;
+		xmlFreeEnumeration;
+		xmlFreeIDTable;
+		xmlFreeInputStream;
+		xmlFreeMutex;
+		xmlFreeNode;
+		xmlFreeNodeList;
+		xmlFreeNotationTable;
+		xmlFreeNs;
+		xmlFreeNsList;
+		xmlFreeParserCtxt;
+		xmlFreeParserInputBuffer;
+		xmlFreeProp;
+		xmlFreePropList;
+		xmlFreeRMutex;
+		xmlFreeRefTable;
+		xmlFreeURI;
+		xmlGenericErrorDefaultFunc;
+		xmlGetBufferAllocationScheme;
+		xmlGetCharEncodingHandler;
+		xmlGetCharEncodingName;
+		xmlGetCompressMode;
+		xmlGetDocCompressMode;
+		xmlGetDocEntity;
+		xmlGetDtdAttrDesc;
+		xmlGetDtdElementDesc;
+		xmlGetDtdEntity;
+		xmlGetDtdNotationDesc;
+		xmlGetDtdQAttrDesc;
+		xmlGetDtdQElementDesc;
+		xmlGetEncodingAlias;
+		xmlGetExternalEntityLoader;
+		xmlGetFeature;
+		xmlGetFeaturesList;
+		xmlGetGlobalState;
+		xmlGetID;
+		xmlGetIntSubset;
+		xmlGetLastChild;
+		xmlGetLineNo;
+		xmlGetNodePath;
+		xmlGetNsList;
+		xmlGetNsProp;
+		xmlGetParameterEntity;
+		xmlGetPredefinedEntity;
+		xmlGetProp;
+		xmlGetRefs;
+		xmlGetThreadId;
+		xmlHandleEntity;
+		xmlHasNsProp;
+		xmlHasProp;
+		xmlHashAddEntry;
+		xmlHashAddEntry2;
+		xmlHashAddEntry3;
+		xmlHashCopy;
+		xmlHashCreate;
+		xmlHashFree;
+		xmlHashLookup;
+		xmlHashLookup2;
+		xmlHashLookup3;
+		xmlHashRemoveEntry;
+		xmlHashRemoveEntry2;
+		xmlHashRemoveEntry3;
+		xmlHashScan;
+		xmlHashScan3;
+		xmlHashScanFull;
+		xmlHashScanFull3;
+		xmlHashSize;
+		xmlHashUpdateEntry;
+		xmlHashUpdateEntry2;
+		xmlHashUpdateEntry3;
+		xmlIOFTPClose;
+		xmlIOFTPMatch;
+		xmlIOFTPOpen;
+		xmlIOFTPRead;
+		xmlIOHTTPClose;
+		xmlIOHTTPMatch;
+		xmlIOHTTPOpen;
+		xmlIOHTTPOpenW;
+		xmlIOHTTPRead;
+		xmlIOParseDTD;
+		xmlInitCharEncodingHandlers;
+		xmlInitMemory;
+		xmlInitNodeInfoSeq;
+		xmlInitParser;
+		xmlInitParserCtxt;
+		xmlInitThreads;
+		xmlInitializeCatalog;
+		xmlInitializeGlobalState;
+		xmlInitializePredefinedEntities;
+		xmlIsBaseChar;
+		xmlIsBlank;
+		xmlIsBlankNode;
+		xmlIsChar;
+		xmlIsCombining;
+		xmlIsDigit;
+		xmlIsExtender;
+		xmlIsID;
+		xmlIsIdeographic;
+		xmlIsLetter;
+		xmlIsMainThread;
+		xmlIsMixedElement;
+		xmlIsPubidChar;
+		xmlIsRef;
+		xmlKeepBlanksDefault;
+		xmlLineNumbersDefault;
+		xmlLinkGetData;
+		xmlListAppend;
+		xmlListClear;
+		xmlListCopy;
+		xmlListCreate;
+		xmlListDelete;
+		xmlListDup;
+		xmlListEmpty;
+		xmlListEnd;
+		xmlListFront;
+		xmlListInsert;
+		xmlListMerge;
+		xmlListPopBack;
+		xmlListPopFront;
+		xmlListPushBack;
+		xmlListPushFront;
+		xmlListRemoveAll;
+		xmlListRemoveFirst;
+		xmlListRemoveLast;
+		xmlListReverse;
+		xmlListReverseSearch;
+		xmlListReverseWalk;
+		xmlListSearch;
+		xmlListSize;
+		xmlListSort;
+		xmlListWalk;
+		xmlLoadACatalog;
+		xmlLoadCatalog;
+		xmlLoadCatalogs;
+		xmlLoadExternalEntity;
+		xmlLoadSGMLSuperCatalog;
+		xmlLockLibrary;
+		xmlLsCountNode;
+		xmlLsOneNode;
+		xmlMallocBreakpoint;
+		xmlMallocLoc;
+		xmlMemDisplay;
+		xmlMemFree;
+		xmlMemGet;
+		xmlMemMalloc;
+		xmlMemRealloc;
+		xmlMemSetup;
+		xmlMemShow;
+		xmlMemStrdupLoc;
+		xmlMemUsed;
+		xmlMemoryDump;
+		xmlMemoryStrdup;
+		xmlMutexLock;
+		xmlMutexUnlock;
+		xmlNamespaceParseNCName;
+		xmlNamespaceParseNSDef;
+		xmlNamespaceParseQName;
+		xmlNanoFTPCheckResponse;
+		xmlNanoFTPCleanup;
+		xmlNanoFTPClose;
+		xmlNanoFTPCloseConnection;
+		xmlNanoFTPConnect;
+		xmlNanoFTPConnectTo;
+		xmlNanoFTPCwd;
+		xmlNanoFTPFreeCtxt;
+		xmlNanoFTPGet;
+		xmlNanoFTPGetConnection;
+		xmlNanoFTPGetResponse;
+		xmlNanoFTPGetSocket;
+		xmlNanoFTPInit;
+		xmlNanoFTPList;
+		xmlNanoFTPNewCtxt;
+		xmlNanoFTPOpen;
+		xmlNanoFTPProxy;
+		xmlNanoFTPQuit;
+		xmlNanoFTPRead;
+		xmlNanoFTPScanProxy;
+		xmlNanoFTPUpdateURL;
+		xmlNanoHTTPAuthHeader;
+		xmlNanoHTTPCleanup;
+		xmlNanoHTTPClose;
+		xmlNanoHTTPContentLength;
+		xmlNanoHTTPFetch;
+		xmlNanoHTTPFetchContent;
+		xmlNanoHTTPInit;
+		xmlNanoHTTPMethod;
+		xmlNanoHTTPMethodRedir;
+		xmlNanoHTTPOpen;
+		xmlNanoHTTPOpenRedir;
+		xmlNanoHTTPRead;
+		xmlNanoHTTPReturnCode;
+		xmlNanoHTTPSave;
+		xmlNanoHTTPScanProxy;
+		xmlNewCDataBlock;
+		xmlNewCatalog;
+		xmlNewCharRef;
+		xmlNewChild;
+		xmlNewComment;
+		xmlNewDoc;
+		xmlNewDocComment;
+		xmlNewDocFragment;
+		xmlNewDocNode;
+		xmlNewDocNodeEatName;
+		xmlNewDocProp;
+		xmlNewDocRawNode;
+		xmlNewDocText;
+		xmlNewDocTextLen;
+		xmlNewDtd;
+		xmlNewElementContent;
+		xmlNewEntityInputStream;
+		xmlNewGlobalNs;
+		xmlNewIOInputStream;
+		xmlNewInputFromFile;
+		xmlNewInputStream;
+		xmlNewMutex;
+		xmlNewNode;
+		xmlNewNodeEatName;
+		xmlNewNs;
+		xmlNewNsProp;
+		xmlNewNsPropEatName;
+		xmlNewPI;
+		xmlNewParserCtxt;
+		xmlNewProp;
+		xmlNewRMutex;
+		xmlNewReconciliedNs;
+		xmlNewReference;
+		xmlNewStringInputStream;
+		xmlNewText;
+		xmlNewTextChild;
+		xmlNewTextLen;
+		xmlNextChar;
+		xmlNoNetExternalEntityLoader;
+		xmlNodeAddContent;
+		xmlNodeAddContentLen;
+		xmlNodeDump;
+		xmlNodeDumpOutput;
+		xmlNodeGetBase;
+		xmlNodeGetContent;
+		xmlNodeGetLang;
+		xmlNodeGetSpacePreserve;
+		xmlNodeIsText;
+		xmlNodeListGetRawString;
+		xmlNodeListGetString;
+		xmlNodeSetBase;
+		xmlNodeSetContent;
+		xmlNodeSetContentLen;
+		xmlNodeSetLang;
+		xmlNodeSetName;
+		xmlNodeSetSpacePreserve;
+		xmlNormalizeURIPath;
+		xmlOutputBufferClose;
+		xmlOutputBufferCreateFd;
+		xmlOutputBufferCreateFile;
+		xmlOutputBufferCreateFilename;
+		xmlOutputBufferCreateIO;
+		xmlOutputBufferFlush;
+		xmlOutputBufferWrite;
+		xmlOutputBufferWriteString;
+		xmlParseAttValue;
+		xmlParseAttribute;
+		xmlParseAttributeListDecl;
+		xmlParseAttributeType;
+		xmlParseBalancedChunkMemory;
+		xmlParseCDSect;
+		xmlParseCatalogFile;
+		xmlParseCharData;
+		xmlParseCharDataComplex;
+		xmlParseCharEncoding;
+		xmlParseCharRef;
+		xmlParseChunk;
+		xmlParseComment;
+		xmlParseContent;
+		xmlParseCtxtExternalEntity;
+		xmlParseDTD;
+		xmlParseDefaultDecl;
+		xmlParseDoc;
+		xmlParseDocTypeDecl;
+		xmlParseDocument;
+		xmlParseElement;
+		xmlParseElementChildrenContentDecl;
+		xmlParseElementContentDecl;
+		xmlParseElementDecl;
+		xmlParseElementMixedContentDecl;
+		xmlParseEncName;
+		xmlParseEncodingDecl;
+		xmlParseEndTag;
+		xmlParseEntity;
+		xmlParseEntityDecl;
+		xmlParseEntityRef;
+		xmlParseEntityValue;
+		xmlParseEnumeratedType;
+		xmlParseEnumerationType;
+		xmlParseExtParsedEnt;
+		xmlParseExternalEntity;
+		xmlParseExternalID;
+		xmlParseExternalSubset;
+		xmlParseFile;
+		xmlParseMarkupDecl;
+		xmlParseMemory;
+		xmlParseMisc;
+		xmlParseName;
+		xmlParseNamespace;
+		xmlParseNmtoken;
+		xmlParseNotationDecl;
+		xmlParseNotationType;
+		xmlParsePEReference;
+		xmlParsePI;
+		xmlParsePITarget;
+		xmlParsePubidLiteral;
+		xmlParseQuotedString;
+		xmlParseReference;
+		xmlParseSDDecl;
+		xmlParseStartTag;
+		xmlParseStringEntityRef;
+		xmlParseStringPEReference;
+		xmlParseSystemLiteral;
+		xmlParseTextDecl;
+		xmlParseURI;
+		xmlParseURIReference;
+		xmlParseVersionInfo;
+		xmlParseVersionNum;
+		xmlParseXMLDecl;
+		xmlParserAddNodeInfo;
+		xmlParserError;
+		xmlParserFindNodeInfo;
+		xmlParserFindNodeInfoIndex;
+		xmlParserGetDirectory;
+		xmlParserHandlePEReference;
+		xmlParserHandleReference;
+		xmlParserInputBufferCreateFd;
+		xmlParserInputBufferCreateFile;
+		xmlParserInputBufferCreateFilename;
+		xmlParserInputBufferCreateIO;
+		xmlParserInputBufferCreateMem;
+		xmlParserInputBufferGrow;
+		xmlParserInputBufferPush;
+		xmlParserInputBufferRead;
+		xmlParserInputGrow;
+		xmlParserInputRead;
+		xmlParserInputShrink;
+		xmlParserPrintFileContext;
+		xmlParserPrintFileInfo;
+		xmlParserValidityError;
+		xmlParserValidityWarning;
+		xmlParserWarning;
+		xmlPedanticParserDefault;
+		xmlPopInput;
+		xmlPrintURI;
+		xmlPushInput;
+		xmlRMutexLock;
+		xmlRMutexUnlock;
+		xmlReallocLoc;
+		xmlReconciliateNs;
+		xmlRecoverDoc;
+		xmlRecoverFile;
+		xmlRecoverMemory;
+		xmlRegisterCharEncodingHandler;
+		xmlRegisterDefaultInputCallbacks;
+		xmlRegisterDefaultOutputCallbacks;
+		xmlRegisterHTTPPostCallbacks;
+		xmlRegisterInputCallbacks;
+		xmlRegisterOutputCallbacks;
+		xmlRemoveID;
+		xmlRemoveProp;
+		xmlRemoveRef;
+		xmlReplaceNode;
+		xmlSAXParseDTD;
+		xmlSAXParseDoc;
+		xmlSAXParseEntity;
+		xmlSAXParseFile;
+		xmlSAXParseFileWithData;
+		xmlSAXParseMemory;
+		xmlSAXUserParseFile;
+		xmlSAXUserParseMemory;
+		xmlSaveFile;
+		xmlSaveFileEnc;
+		xmlSaveFileTo;
+		xmlSaveFormatFile;
+		xmlSaveFormatFileEnc;
+		xmlSaveFormatFileTo;
+		xmlSaveUri;
+		xmlScanAttributeDecl;
+		xmlScanName;
+		xmlSearchNs;
+		xmlSearchNsByHref;
+		xmlSetBufferAllocationScheme;
+		xmlSetCompressMode;
+		xmlSetDocCompressMode;
+		xmlSetEntityReferenceFunc;
+		xmlSetExternalEntityLoader;
+		xmlSetFeature;
+		xmlSetGenericErrorFunc;
+		xmlSetListDoc;
+		xmlSetNs;
+		xmlSetNsProp;
+		xmlSetProp;
+		xmlSetTreeDoc;
+		xmlSetupParserForBuffer;
+		xmlShell;
+		xmlShellBase;
+		xmlShellCat;
+		xmlShellDir;
+		xmlShellDu;
+		xmlShellList;
+		xmlShellLoad;
+		xmlShellPrintNode;
+		xmlShellPrintXPathError;
+		xmlShellPrintXPathResult;
+		xmlShellPwd;
+		xmlShellSave;
+		xmlShellValidate;
+		xmlShellWrite;
+		xmlSkipBlankChars;
+		xmlSnprintfElementContent;
+		xmlSplitQName;
+		xmlSplitQName2;
+		xmlSprintfElementContent;
+		xmlStopParser;
+		xmlStrEqual;
+		xmlStrcasecmp;
+		xmlStrcasestr;
+		xmlStrcat;
+		xmlStrchr;
+		xmlStrcmp;
+		xmlStrdup;
+		xmlStringCurrentChar;
+		xmlStringDecodeEntities;
+		xmlStringGetNodeList;
+		xmlStringLenGetNodeList;
+		xmlStrlen;
+		xmlStrncasecmp;
+		xmlStrncat;
+		xmlStrncmp;
+		xmlStrndup;
+		xmlStrstr;
+		xmlStrsub;
+		xmlSubstituteEntitiesDefault;
+		xmlSwitchEncoding;
+		xmlSwitchToEncoding;
+		xmlTextConcat;
+		xmlTextMerge;
+		xmlURIEscape;
+		xmlURIEscapeStr;
+		xmlURIUnescapeString;
+		xmlUTF8Strlen;
+		xmlUTF8Strloc;
+		xmlUTF8Strndup;
+		xmlUTF8Strpos;
+		xmlUTF8Strsize;
+		xmlUTF8Strsub;
+		xmlUnlinkNode;
+		xmlUnlockLibrary;
+		xmlUnsetNsProp;
+		xmlUnsetProp;
+		xmlUpgradeOldNs;
+		xmlValidCtxtNormalizeAttributeValue;
+		xmlValidGetPotentialChildren;
+		xmlValidGetValidElements;
+		xmlValidNormalizeAttributeValue;
+		xmlValidateAttributeDecl;
+		xmlValidateAttributeValue;
+		xmlValidateDocument;
+		xmlValidateDocumentFinal;
+		xmlValidateDtd;
+		xmlValidateDtdFinal;
+		xmlValidateElement;
+		xmlValidateElementDecl;
+		xmlValidateNameValue;
+		xmlValidateNamesValue;
+		xmlValidateNmtokenValue;
+		xmlValidateNmtokensValue;
+		xmlValidateNotationDecl;
+		xmlValidateNotationUse;
+		xmlValidateOneAttribute;
+		xmlValidateOneElement;
+		xmlValidateRoot;
+		xmlXIncludeProcess;
+		xmlXPathAddValues;
+		xmlXPathBooleanFunction;
+		xmlXPathCastBooleanToNumber;
+		xmlXPathCastBooleanToString;
+		xmlXPathCastNodeSetToBoolean;
+		xmlXPathCastNodeSetToNumber;
+		xmlXPathCastNodeSetToString;
+		xmlXPathCastNodeToNumber;
+		xmlXPathCastNodeToString;
+		xmlXPathCastNumberToBoolean;
+		xmlXPathCastNumberToString;
+		xmlXPathCastStringToBoolean;
+		xmlXPathCastStringToNumber;
+		xmlXPathCastToBoolean;
+		xmlXPathCastToNumber;
+		xmlXPathCastToString;
+		xmlXPathCeilingFunction;
+		xmlXPathCmpNodes;
+		xmlXPathCompareValues;
+		xmlXPathCompile;
+		xmlXPathCompiledEval;
+		xmlXPathConcatFunction;
+		xmlXPathContainsFunction;
+		xmlXPathConvertBoolean;
+		xmlXPathConvertNumber;
+		xmlXPathConvertString;
+		xmlXPathCountFunction;
+		xmlXPathDebugDumpCompExpr;
+		xmlXPathDebugDumpObject;
+		xmlXPathDifference;
+		xmlXPathDistinct;
+		xmlXPathDistinctSorted;
+		xmlXPathDivValues;
+		xmlXPathEqualValues;
+		xmlXPathEval;
+		xmlXPathEvalExpr;
+		xmlXPathEvalExpression;
+		xmlXPathEvalPredicate;
+		xmlXPathEvaluatePredicateResult;
+		xmlXPathFalseFunction;
+		xmlXPathFloorFunction;
+		xmlXPathFreeCompExpr;
+		xmlXPathFreeContext;
+		xmlXPathFreeNodeSet;
+		xmlXPathFreeNodeSetList;
+		xmlXPathFreeObject;
+		xmlXPathFreeParserContext;
+		xmlXPathFunctionLookup;
+		xmlXPathFunctionLookupNS;
+		xmlXPathHasSameNodes;
+		xmlXPathIdFunction;
+		xmlXPathInit;
+		xmlXPathIntersection;
+		xmlXPathIsInf;
+		xmlXPathIsNaN;
+		xmlXPathIsNodeType;
+		xmlXPathLangFunction;
+		xmlXPathLastFunction;
+		xmlXPathLeading;
+		xmlXPathLeadingSorted;
+		xmlXPathLocalNameFunction;
+		xmlXPathModValues;
+		xmlXPathMultValues;
+		xmlXPathNamespaceURIFunction;
+		xmlXPathNewBoolean;
+		xmlXPathNewCString;
+		xmlXPathNewContext;
+		xmlXPathNewFloat;
+		xmlXPathNewNodeSet;
+		xmlXPathNewNodeSetList;
+		xmlXPathNewParserContext;
+		xmlXPathNewString;
+		xmlXPathNewValueTree;
+		xmlXPathNextAncestor;
+		xmlXPathNextAncestorOrSelf;
+		xmlXPathNextAttribute;
+		xmlXPathNextChild;
+		xmlXPathNextDescendant;
+		xmlXPathNextDescendantOrSelf;
+		xmlXPathNextFollowing;
+		xmlXPathNextFollowingSibling;
+		xmlXPathNextNamespace;
+		xmlXPathNextParent;
+		xmlXPathNextPreceding;
+		xmlXPathNextPrecedingSibling;
+		xmlXPathNextSelf;
+		xmlXPathNodeLeading;
+		xmlXPathNodeLeadingSorted;
+		xmlXPathNodeSetAdd;
+		xmlXPathNodeSetAddNs;
+		xmlXPathNodeSetAddUnique;
+		xmlXPathNodeSetContains;
+		xmlXPathNodeSetCreate;
+		xmlXPathNodeSetDel;
+		xmlXPathNodeSetFreeNs;
+		xmlXPathNodeSetMerge;
+		xmlXPathNodeSetRemove;
+		xmlXPathNodeSetSort;
+		xmlXPathNodeTrailing;
+		xmlXPathNodeTrailingSorted;
+		xmlXPathNormalizeFunction;
+		xmlXPathNotFunction;
+		xmlXPathNsLookup;
+		xmlXPathNumberFunction;
+		xmlXPathObjectCopy;
+		xmlXPathParseNCName;
+		xmlXPathParseName;
+		xmlXPathPopBoolean;
+		xmlXPathPopExternal;
+		xmlXPathPopNodeSet;
+		xmlXPathPopNumber;
+		xmlXPathPopString;
+		xmlXPathPositionFunction;
+		xmlXPathRegisterAllFunctions;
+		xmlXPathRegisterFunc;
+		xmlXPathRegisterFuncLookup;
+		xmlXPathRegisterFuncNS;
+		xmlXPathRegisterNs;
+		xmlXPathRegisterVariable;
+		xmlXPathRegisterVariableLookup;
+		xmlXPathRegisterVariableNS;
+		xmlXPathRegisteredFuncsCleanup;
+		xmlXPathRegisteredNsCleanup;
+		xmlXPathRegisteredVariablesCleanup;
+		xmlXPathRoot;
+		xmlXPathRoundFunction;
+		xmlXPathStartsWithFunction;
+		xmlXPathStringEvalNumber;
+		xmlXPathStringFunction;
+		xmlXPathStringLengthFunction;
+		xmlXPathSubValues;
+		xmlXPathSubstringAfterFunction;
+		xmlXPathSubstringBeforeFunction;
+		xmlXPathSubstringFunction;
+		xmlXPathSumFunction;
+		xmlXPathTrailing;
+		xmlXPathTrailingSorted;
+		xmlXPathTranslateFunction;
+		xmlXPathTrueFunction;
+		xmlXPathValueFlipSign;
+		xmlXPathVariableLookup;
+		xmlXPathVariableLookupNS;
+		xmlXPathWrapCString;
+		xmlXPathWrapExternal;
+		xmlXPathWrapNodeSet;
+		xmlXPathWrapString;
+		xmlXPatherror;
+		xmlXPtrAdvanceNode;
+		xmlXPtrBuildNodeList;
+		xmlXPtrEndPointFunction;
+		xmlXPtrEval;
+		xmlXPtrEvalRangePredicate;
+		xmlXPtrFreeLocationSet;
+		xmlXPtrHereFunction;
+		xmlXPtrLocationSetAdd;
+		xmlXPtrLocationSetCreate;
+		xmlXPtrLocationSetDel;
+		xmlXPtrLocationSetMerge;
+		xmlXPtrLocationSetRemove;
+		xmlXPtrNewCollapsedRange;
+		xmlXPtrNewContext;
+		xmlXPtrNewLocationSetNodeSet;
+		xmlXPtrNewLocationSetNodes;
+		xmlXPtrNewRange;
+		xmlXPtrNewRangeNodeObject;
+		xmlXPtrNewRangeNodePoint;
+		xmlXPtrNewRangeNodes;
+		xmlXPtrNewRangePointNode;
+		xmlXPtrNewRangePoints;
+		xmlXPtrOriginFunction;
+		xmlXPtrRangeFunction;
+		xmlXPtrRangeInsideFunction;
+		xmlXPtrRangeToFunction;
+		xmlXPtrStartPointFunction;
+		xmlXPtrStringRangeFunction;
+		xmlXPtrWrapLocationSet;
+		docbDefaultSAXHandler;
+		htmlDefaultSAXHandler;
+		oldXMLWDcompatibility;
+		xmlBufferAllocScheme;
+		xmlDefaultBufferSize;
+		xmlDefaultSAXHandler;
+		xmlDefaultSAXLocator;
+		xmlDoValidityCheckingDefaultValue;
+		xmlFree;
+		xmlGenericError;
+		xmlGenericErrorContext;
+		xmlGetWarningsDefaultValue;
+		xmlIndentTreeOutput;
+		xmlKeepBlanksDefaultValue;
+		xmlLineNumbersDefaultValue;
+		xmlLoadExtDtdDefaultValue;
+		xmlMalloc;
+		xmlMemStrdup;
+		xmlParserDebugEntities;
+		xmlParserVersion;
+		xmlPedanticParserDefaultValue;
+		xmlRealloc;
+		xmlSaveNoEmptyTags;
+		xmlStringComment;
+		xmlStringText;
+		xmlStringTextNoenc;
+		xmlSubstituteEntitiesDefaultValue;
+		xmlTreeIndentString;
+		xmlXPathNAN;
+		xmlXPathNINF;
+		xmlXPathNZERO;
+		xmlXPathPINF;
+	local:
+		*;
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/configure.in.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,17 @@
+# fix configure so that we can override the site-packages directory to match
+# the way we deliver python modules in Solaris.
+#
+--- libxml2-2.7.6/configure.in.orig	Tue Oct  6 09:28:58 2009
++++ libxml2-2.7.6/configure.in	Mon Mar 21 00:39:24 2011
+@@ -757,6 +757,10 @@
+ if test "$PYTHON_INCLUDES" != ""
+ then
+     PYTHON_SUBDIR=python
++    if test "${PYTHON_VENDOR_PACKAGES}" != ""
++    then
++        PYTHON_SITE_PACKAGES=$PYTHON_VENDOR_PACKAGES
++    fi
+ else
+     PYTHON_SUBDIR=
+ fi
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/globals-fix.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,11 @@
+--- libxml2-2.7.6/globals.c.fix	Tue Oct 13 20:13:06 2009
++++ libxml2-2.7.6/globals.c	Tue Oct 13 20:13:28 2009
+@@ -46,7 +46,7 @@
+  */
+ void xmlInitGlobals(void)
+ {
+-    if (xmlThrDefMutex != NULL)
++    if (xmlThrDefMutex == NULL)
+         xmlThrDefMutex = xmlNewMutex();
+ }
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/globals.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,231 @@
+--- libxml2-2.7.6/xpointer.c	Thu Sep 24 08:32:00 2009
++++ libxml2-2.7.3/xpointer.c	Wed Jan  3 05:07:52 2007
+@@ -1301,19 +1299,12 @@
+  *									*
+  ************************************************************************/
+ 
+-static
+ void xmlXPtrStringRangeFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrStartPointFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrEndPointFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrHereFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrOriginFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrRangeInsideFunction(xmlXPathParserContextPtr ctxt, int nargs);
+-static
+ void xmlXPtrRangeFunction(xmlXPathParserContextPtr ctxt, int nargs);
+ 
+ /**
+@@ -1741,7 +1732,7 @@
+  * Function implementing here() operation 
+  * as described in 5.4.3
+  */
+-static void
++void
+ xmlXPtrHereFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     CHECK_ARITY(0);
+ 
+@@ -1759,7 +1750,7 @@
+  * Function implementing origin() operation 
+  * as described in 5.4.3
+  */
+-static void
++void
+ xmlXPtrOriginFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     CHECK_ARITY(0);
+ 
+@@ -1792,7 +1783,7 @@
+  * ----------------
+  *
+  */
+-static void
++void
+ xmlXPtrStartPointFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     xmlXPathObjectPtr tmp, obj, point;
+     xmlLocationSetPtr newset = NULL;
+@@ -1886,7 +1877,7 @@
+  *   syntax error.
+  * ----------------------------
+  */
+-static void
++void
+ xmlXPtrEndPointFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     xmlXPathObjectPtr tmp, obj, point;
+     xmlLocationSetPtr newset = NULL;
+@@ -2031,7 +2022,7 @@
+  *  location-set, a range location representing the covering range of
+  *  x is added to the result location-set.
+  */
+-static void
++void
+ xmlXPtrRangeFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     int i;
+     xmlXPathObjectPtr set;
+@@ -2177,7 +2168,7 @@
+  *  location children of x.
+  *
+  */
+-static void
++void
+ xmlXPtrRangeInsideFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     int i;
+     xmlXPathObjectPtr set;
+@@ -2765,7 +2757,7 @@
+  * all be character points.
+  * ------------------------------
+  */
+-static void
++void
+ xmlXPtrStringRangeFunction(xmlXPathParserContextPtr ctxt, int nargs) {
+     int i, startindex, endindex = 0, fendindex;
+     xmlNodePtr start, end = 0, fend;
+--- libxml2-2.7.6/tree.c	Thu Sep 24 08:32:00 2009
++++ libxml2-2.7.3/tree.c	Sat Jan 17 05:45:34 2009
+@@ -49,8 +49,7 @@
+  *									*
+  ************************************************************************/
+ 
+-static xmlNsPtr
+-xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
++xmlNsPtr xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
+ 
+ static xmlChar* xmlGetPropNodeValueInternal(xmlAttrPtr prop);
+ 
+@@ -6055,7 +6045,7 @@
+  * @tree or on one of its ancestors then a new prefix is generated.
+  * Returns the (new) namespace definition or NULL in case of error
+  */
+-static xmlNsPtr
++xmlNsPtr
+ xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
+     xmlNsPtr def;
+     xmlChar prefix[50];
+--- libxml2-2.7.6/valid.c	Thu Sep 24 08:32:00 2009
++++ libxml2-2.7.3/valid.c	Thu Nov 27 06:04:13 2008
+@@ -637,6 +637,8 @@
+    else if ((doc->intSubset == NULL) &&				\
+ 	    (doc->extSubset == NULL)) return(0)
+ 
++xmlAttributePtr xmlScanAttributeDecl(xmlDtdPtr dtd, const xmlChar *elem);
++
+ #ifdef LIBXML_REGEXP_ENABLED
+ 
+ /************************************************************************
+@@ -1831,6 +1833,53 @@
+ 
+ #ifdef LIBXML_VALID_ENABLED
+ /**
++ * xmlScanAttributeDeclCallback:
++ * @attr:  the attribute decl
++ * @list:  the list to update
++ *
++ * Callback called by xmlScanAttributeDecl when a new attribute
++ * has to be entered in the list.
++ */
++static void
++xmlScanAttributeDeclCallback(xmlAttributePtr attr, xmlAttributePtr *list,
++	                     const xmlChar* name ATTRIBUTE_UNUSED) {
++    attr->nexth = *list;
++    *list = attr;
++}
++
++/**
++ * xmlScanAttributeDecl:
++ * @dtd:  pointer to the DTD
++ * @elem:  the element name
++ *
++ * When inserting a new element scan the DtD for existing attributes
++ * for that element and initialize the Attribute chain
++ *
++ * Returns the pointer to the first attribute decl in the chain,
++ *         possibly NULL.
++ */
++xmlAttributePtr
++xmlScanAttributeDecl(xmlDtdPtr dtd, const xmlChar *elem) {
++    xmlAttributePtr ret = NULL;
++    xmlAttributeTablePtr table;
++
++    if (dtd == NULL) {
++	return(NULL);
++    }
++    if (elem == NULL) {
++	return(NULL);
++    }
++    table = (xmlAttributeTablePtr) dtd->attributes;
++    if (table == NULL) 
++        return(NULL);
++
++    /* WRONG !!! */
++    xmlHashScan3(table, NULL, NULL, elem,
++	        (xmlHashScanner) xmlScanAttributeDeclCallback, &ret);
++    return(ret);
++}
++
++/**
+  * xmlScanIDAttributeDecl:
+  * @ctxt:  the validation context
+  * @elem:  the element name
+--- libxml2-2.7.6/parser.c	Thu Sep 24 08:31:59 2009
++++ libxml2-2.7.3/parser.c	Thu Sep  3 08:28:43 2009
+@@ -202,8 +198,8 @@
+ 
+ 
+ /* DEPR void xmlParserHandleReference(xmlParserCtxtPtr ctxt); */
+-static xmlEntityPtr xmlParseStringPEReference(xmlParserCtxtPtr ctxt,
+-                                              const xmlChar **str);
++xmlEntityPtr xmlParseStringPEReference(xmlParserCtxtPtr ctxt,
++                                       const xmlChar **str);
+ 
+ static xmlParserErrors
+ xmlParseExternalEntityPrivate(xmlDocPtr doc, xmlParserCtxtPtr oldctxt,
+@@ -1359,8 +1342,8 @@
+  *									*
+  ************************************************************************/
+ 
+-static xmlEntityPtr xmlParseStringEntityRef(xmlParserCtxtPtr ctxt,
+-                                            const xmlChar ** str);
++xmlEntityPtr xmlParseStringEntityRef(xmlParserCtxtPtr ctxt,
++                                     const xmlChar ** str);
+ 
+ #ifdef SAX2
+ /**
+@@ -4015,7 +3978,7 @@
+     return(buf);
+ }
+ 
+-static void xmlParseCharDataComplex(xmlParserCtxtPtr ctxt, int cdata);
++void xmlParseCharDataComplex(xmlParserCtxtPtr ctxt, int cdata);
+ 
+ /*
+  * used for the test in the inner loop of the char data testing
+@@ -4220,7 +4183,7 @@
+  * of xmlParseCharData() when the parsing requires handling
+  * of non-ASCII characters.
+  */
+-static void
++void
+ xmlParseCharDataComplex(xmlParserCtxtPtr ctxt, int cdata) {
+     xmlChar buf[XML_PARSER_BIG_BUFFER_SIZE + 5];
+     int nbchar = 0;
+@@ -7293,7 +7257,7 @@
+  * Returns the xmlEntityPtr if found, or NULL otherwise. The str pointer
+  * is updated to the current location in the string.
+  */
+-static xmlEntityPtr
++xmlEntityPtr
+ xmlParseStringEntityRef(xmlParserCtxtPtr ctxt, const xmlChar ** str) {
+     xmlChar *name;
+     const xmlChar *ptr;
+@@ -7701,7 +7666,7 @@
+  * Returns the string of the entity content.
+  *         str is updated to the current value of the index
+  */
+-static xmlEntityPtr
++xmlEntityPtr
+ xmlParseStringPEReference(xmlParserCtxtPtr ctxt, const xmlChar **str) {
+     const xmlChar *ptr;
+     xmlChar cur;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/libxml2-01-remove-static.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,95 @@
+*** libxml2-2.6.23/globals.c	Tue Aug 23 18:06:28 2005
+--- libxml2-2.6.23.new/globals.c	Fri Apr  7 00:25:38 2006
+***************
+*** 344,350 ****
+   * Disabled by default
+   */
+  int xmlSaveNoEmptyTags = 0;
+! static int xmlSaveNoEmptyTagsThrDef = 0;
+  
+  #ifdef LIBXML_SAX1_ENABLED
+  /**
+--- 344,350 ----
+   * Disabled by default
+   */
+  int xmlSaveNoEmptyTags = 0;
+! int xmlSaveNoEmptyTagsThrDef = 0;
+  
+  #ifdef LIBXML_SAX1_ENABLED
+  /**
+*** libxml2-2.6.23/nanohttp.c	Thu Dec 15 11:06:31 2005
+--- libxml2-2.6.23.new/nanohttp.c	Fri Apr  7 00:33:19 2006
+***************
+*** 164,170 ****
+  static int proxyPort;	/* the proxy port if any */
+  static unsigned int timeout = 60;/* the select() timeout in seconds */
+  
+! static int xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len );
+  
+  /**
+   * xmlHTTPErrMemory:
+--- 164,170 ----
+  static int proxyPort;	/* the proxy port if any */
+  static unsigned int timeout = 60;/* the select() timeout in seconds */
+  
+! int xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len );
+  
+  /**
+   * xmlHTTPErrMemory:
+***************
+*** 1710,1716 ****
+   * -1 if received content length was less than specified or an error 
+   * occurred.
+   */
+! static int
+  xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len ) {
+      xmlNanoHTTPCtxtPtr	ctxt = (xmlNanoHTTPCtxtPtr)ctx;
+  
+--- 1710,1716 ----
+   * -1 if received content length was less than specified or an error 
+   * occurred.
+   */
+! int
+  xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len ) {
+      xmlNanoHTTPCtxtPtr	ctxt = (xmlNanoHTTPCtxtPtr)ctx;
+  
+*** libxml2-2.6.23/xmlunicode.c	Fri Jul 29 00:57:53 2005
+--- libxml2-2.6.23.new/xmlunicode.c	Fri Apr  7 00:31:57 2006
+***************
+*** 926,933 ****
+      {0x205f, 0x205f}, {0x3000, 0x3000} };
+  static xmlChRangeGroup xmlZG = {9,0,xmlZS,NULL};
+  
+! static xmlUnicodeNameTable xmlUnicodeBlockTbl = {xmlUnicodeBlocks, 128};
+! static xmlUnicodeNameTable xmlUnicodeCatTbl = {xmlUnicodeCats, 36};
+  
+  /**
+   * xmlUnicodeLookup:
+--- 926,933 ----
+      {0x205f, 0x205f}, {0x3000, 0x3000} };
+  static xmlChRangeGroup xmlZG = {9,0,xmlZS,NULL};
+  
+! xmlUnicodeNameTable xmlUnicodeBlockTbl = {xmlUnicodeBlocks, 128};
+! xmlUnicodeNameTable xmlUnicodeCatTbl = {xmlUnicodeCats, 36};
+  
+  /**
+   * xmlUnicodeLookup:
+*** libxml2-2.6.23/xpath.c	Thu Jan  5 12:33:45 2006
+--- libxml2-2.6.23.new/xpath.c	Fri Apr  7 00:58:49 2006
+***************
+*** 100,106 ****
+  double xmlXPathNAN = 0;
+  double xmlXPathPINF = 1;
+  double xmlXPathNINF = -1;
+! static double xmlXPathNZERO = 0; /* not exported from headers */
+  static int xmlXPathInitialized = 0;
+  
+  /**
+--- 100,106 ----
+  double xmlXPathNAN = 0;
+  double xmlXPathPINF = 1;
+  double xmlXPathNINF = -1;
+! double xmlXPathNZERO = 0; /* not exported from headers */
+  static int xmlXPathInitialized = 0;
+  
+  /**
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/mem-leak-fix.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,38 @@
+diff --git a/python/tests/xpathleak.py b/python/tests/xpathleak.py
+index dcc144c..879de1c 100644
+--- a/python/tests/xpathleak.py
++++ b/python/tests/xpathleak.py
+@@ -27,7 +27,11 @@ libxml2.registerErrorHandler(callback, "-->")
+ doc = libxml2.parseDoc("<fish/>")
+ ctxt = doc.xpathNewContext()
+ ctxt.setContextNode(doc)
+-for expr in (":false()","bad:()","bad(:)",":bad(:)","bad:(:)","bad:bad(:)"):
++badexprs = (
++	":false()", "bad:()", "bad(:)", ":bad(:)", "bad:(:)", "bad:bad(:)",
++	"a:/b", "/c:/d", "//e:/f", "g://h"
++	)
++for expr in badexprs:
+ 	try:
+ 		ctxt.xpathEval(expr)
+ 	except libxml2.xpathError, e:
+diff --git a/xpath.c b/xpath.c
+index 5b84d22..8482c40 100644
+--- a/xpath.c
++++ b/xpath.c
+@@ -11333,6 +11333,7 @@ xmlXPathCompRelativeLocationPath
+ 	SKIP_BLANKS;
+     }
+     xmlXPathCompStep(ctxt);
++    CHECK_ERROR;
+     SKIP_BLANKS;
+     while (CUR == '/') {
+ 	if ((CUR == '/') && (NXT(1) == '/')) {
+@@ -11392,6 +11393,7 @@ xmlXPathCompLocationPath(xmlXPathParserContextPtr ctxt) {
+ 		     (CUR == '@') || (CUR == '*')))
+ 		    xmlXPathCompRelativeLocationPath(ctxt);
+ 	    }
++	    CHECK_ERROR;
+ 	}
+     }
+ }
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/no-docs-examples.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,11 @@
+--- libxml2-2.6.31.orig/Makefile.in	Fri Jan 11 01:10:54 2008
++++ libxml2-2.6.31/Makefile.in	Wed Jan 16 14:33:06 2008
+@@ -486,7 +486,7 @@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = include . doc example xstc @PYTHON_SUBDIR@
++SUBDIRS = include . @PYTHON_SUBDIR@
+ DIST_SUBDIRS = include . doc example python xstc
+ INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ 
+ bin_SCRIPTS = xml2-config
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/proto-mismatch.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,11 @@
+--- libxml2-2.7.6/relaxng.c.proto-mismatch	Thu Oct  8 00:39:20 2009
++++ libxml2-2.7.6/relaxng.c	Thu Oct  8 00:41:57 2009
+@@ -5369,7 +5369,7 @@
+     } else {
+         xmlRngPErr(ctxt, node, XML_RNGP_CHOICE_CONTENT,
+                    "expecting name, anyName, nsName or choice : got %s\n",
+-                   (node == NULL ? "nothing" : node->name), NULL);
++                   (node == NULL ? (const unsigned char *)"nothing" : node->name), NULL);
+         return (NULL);
+     }
+     if (ret != def) {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/xml2-config.1	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,34 @@
+.TH xml2-config 1 "3 July 1999"
+.SH NAME
+xml2-config - script to get information about the installed version of libxml
+.SH SYNOPSIS
+.B xml2-config
+[\-\-prefix\fI[=DIR]\fP] [\-\-libs] [\-\-cflags] [\-\-version] [\-\-help]
+.SH DESCRIPTION
+\fIxml2-config\fP is a tool that is used to determine the compile and
+linker flags that should be used to compile and link programs that use
+\fIlibxml\fP.
+.SH OPTIONS
+.l
+\fIxml2-config\fP accepts the following options:
+.TP 8
+.B  \-\-version
+Print the currently installed version of \fIlibxml\fP on the standard output.
+.TP 8
+.B  \-\-libs
+Print the linker flags that are necessary to link a \fIlibxml\fP program.
+.TP 8
+.B  \-\-cflags
+Print the compiler flags that are necessary to compile a \fIlibxml\fP program.
+.TP 8
+.B  \-\-prefix=PREFIX
+If specified, use PREFIX instead of the installation prefix that
+\fIlibxml\fP was built with when computing the output for the
+\-\-cflags and \-\-libs options. This option must be specified before
+any \-\-libs or \-\-cflags options.
+.SH AUTHOR
+This manual page was written by Fredrik Hallenberg <hallon@lysator.liu.se>,
+for the Debian GNU/linux system (but may be used by others).
+.SH NOTES
+Source for libxml is available on http://opensolaris.org.
+Documentation for libxml is available on-line at http://www.xmlsoft.org/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/xmlcatalog.1	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,83 @@
+.TH xmlcatalog 1 "Nov 26 2001"
+.SH NAME
+xmlcatalog \- Command line tool to parse and manipulate XML or SGML catalog files.
+.SH "SYNOPSIS"
+\fBxmlcatalog\fR [\fB--shell\fR | \fB--create\fR | \fB--add  \fItype\fR 
+	   \fIorig\fR   \fIreplace\fR \fR | \fB--del  \fIvalues\fR \fR | \fB--noout\fR | \fB--verbose\fR] [\fB\fIcatalogfile\fR\fR] [\fB\fIentities\fR\fR]
+.SH "INTRODUCTION"
+
+.PP
+xmlcatalog is a command line application allowing users to monitor and manipulate XML and SGML catalogs. It is included in libxml2.
+.PP
+Its functions can be invoked from a single command from the command line, or it can perform multiple functions in interactive mode. It can operate on both XML and SGML files.
+.SH "COMMAND LINE OPTIONS"
+
+.TP
+\fB--shell\fR \fIfilename\fR
+Run a shell allowing interactive queries on catalog file \fIfilename\fR.
+.TP
+\fB--create\fR \fIfilename\fR
+Create a new XML catalog. Outputs to stdout, ignoring \fIfilename\fR unless \fB--noout\fR is used, in which case it creates a new catalog file \fIfilename\fR.
+.TP
+\fB--add\fR \fI'type'\fR \fI'orig'\fR \fI'replace'\fR \fIfilename\fR
+Add an entry to catalog file \fIfilename\fR. \fItype\fR indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. \fI'orig'\fR is the original reference to be replaced, and \fI'replace'\fR is the URI of the replacement entity to be used. The \fB--add\fR option will not overwrite \fIfilename\fR, outputing to stdout, unless \fB--noout\fR is used. The \fB--add\fR will always take three parameters even if some of the XML catalog constructs will have only a single argument.
+
+If the \fB--add\fR option is used following the \fB--sgml\fR option, only a single argument, a \fIfilename\fR, is used. This is used to add the name of a catalog file to an SGML supercatalog, a file that contains references to other included SGML catalog files.
+.TP
+\fB--del\fR \fI'values'\fR \fIfilename\fR
+Remove entries from the catalog file \fIfilename\fR matching \fI'values'\fR. The \fB--del\fR option will not overwrite \fIfilename\fR, outputing to stdout, unless \fB--noout\fR is used.
+.TP
+\fB--noout\fR
+Save output to the named file rather than outputing to stdout.
+.TP
+\fB-v\fR or \fB--verbose\fR
+Output debugging information.
+.SH "SHELL COMMANDS"
+.PP
+Invoking xmlcatalog with the \fB--shell\fR \fIfilename\fR option opens a command line shell allowing interactive access to the catalog file identified by \fIfilename\fR. Invoking the shell provides a command line prompt after which commands can be entered.
+.TP
+\fBpublic\fR \fI'PublicID'\fR
+Execute a public identifier lookup of the catalog entry for \fI'PublicID'\fR. The corresponding entry will be output to the command line.
+.TP
+\fBsystem\fR \fI'SystemID'\fR
+Execute a public identifier lookup of the catalog entry for \fI'SystemID'\fR. The corresponding entry will be output to the command line.
+.TP
+\fBadd \fR \fI'type'\fR \fI'orig'\fR \fI'replace'\fR
+Add an entry to the catalog file. \fItype\fR indicates the type of entry. Possible types are 'public', 'system', 'rewriteSystem', 'delegatePublic' and 'delegateSystem'. \fI'orig'\fR is the original reference to be replaced, and \fI'replace'\fR is the URI of the replacement entity to be used.
+.TP
+\fBdel\fR \fI'values'\fR
+Remove the catalog entry corresponding to \fI'values'\fR.
+.TP
+\fBdump\fR
+Print the current catalog.
+.TP
+\fBdebug\fR
+Print debugging statements showing the steps xmlcatalog is executing.
+.TP
+\fBquiet\fR
+Stop printing debugging statements.
+.TP
+\fBexit\fR
+Quit the shell.
+.SH "REFERENCES"
+
+.TP
+libxml web page:
+http://www.xmlsoft.org/
+.TP
+libxml catalog support web page:
+http://www.xmlsoft.org/catalog.html
+.TP
+James Clark's SGML catalog page:
+http://www.jclark.com/sp/catalog.htm
+.TP
+OASIS XML catalog specification:
+http://www.oasis-open.org/committees/entity/spec.html
+
+.SH AUTHOR
+John Fleck  <jfleck@inkstain.net>
+This is release 0.2 of the xmlcatalog Manual.
+
+.SH NOTES
+Source for libxml is available on http://opensolaris.org.
+Documentation for libxml is available on-line at http://www.xmlsoft.org/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/xmllint.1	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,118 @@
+.TH xmllint 1 "2001 Nov 26"
+.SH NAME
+xmllint \- command line XML tool
+.SH "SYNOPSIS"
+\fBxmllint\fR [\fB--version\fR | \fB--debug\fR | \fB--shell\fR | \fB--debugent\fR | \fB--copy\fR | \fB--recover\fR | \fB--noent\fR | \fB--noout\fR | \fB--htmlout\fR | \fB--nowrap\fR | \fB--valid\fR | \fB--postvalid\fR | \fB--dtdvalid  \fIURL\fR \fR | \fB--timing\fR | \fB--repeat\fR | \fB--insert\fR | \fB--compress\fR | \fB--sgml\fR | \fB--html\fR | \fB--push\fR | \fB--memory\fR | \fB--nowarning\fR | \fB--noblanks\fR | \fB--format\fR | \fB--testIO\fR | \fB--encode  \fIencoding\fR \fR | \fB--catalogs\fR | \fB--nocatalogs\fR | \fB--auto\fR | \fB--xinclude\fR | \fB--loaddtd\fR | \fB--dtdattr\fR | \fB--dropdtd\fR] [\fB\fIxmlfile\fR\fR]
+.SH "INTRODUCTION"
+
+.PP
+The xmllint program parses one or more XML files, specified on the command line as \fIxmlfile\fR. It prints various types of output, depending upon the options selected. It is useful for detecting errors both in XML code and in the XML parser itself.
+.PP
+It is included in libxml2.
+.SH "OPTIONS"
+
+.TP
+\fB--version\fR
+Display the version of libxml2 used.
+.TP
+\fB--debug\fR
+Parse a file and output an annotated tree of the in-memory version of the document.
+.TP
+\fB--shell\fR
+Run a navigating shell.
+.TP
+\fB--debugent\fR
+Debug the entities defined in the document.
+.TP
+\fB--copy\fR 
+Test the internal copy implementation.
+.TP
+\fB--recover\fR
+Output any parsable portions of an invalid document.
+.TP
+\fB--noent\fR
+Substitute entity values for entity references. By default, xmllint leaves entity references in place.
+.TP
+\fB--noout\fR
+Suppress output. By default, xmllint outputs the result tree.
+.TP
+\fB--htmlout\fR
+Output results as an HTML file. This causes xmllint to output the necessary HTML tags surrounding the result tree output so the results can be displayed in a browser.
+.TP
+\fB--nowrap \fR
+Do not output HTML doc wrapper.
+.TP
+\fB--valid \fR
+Determine if the document is a valid instance of the included Document Type Definition (DTD). A DTD to be validated against also can be specified at the command line using the \fB--dtdvalid\fR option. By default, xmllint also checks to determine if the document is well-formed.
+.TP
+\fB--postvalid\fR
+Validate after parsing is completed.
+.TP
+ \fB--dtdvalid\fR \fIURL\fR
+Use the DTD specified by \fIURL\fR for validation.
+.TP
+\fB--timing\fR
+Output information about the time it takes xmllint to perform the various steps.
+.TP
+\fB--repeat\fR
+Repeat 100 times, for timing or profiling.
+.TP
+\fB--insert\fR
+Test for valid insertions.
+.TP
+\fB--compress\fR
+Turn on gzip compression of output.
+.TP
+\fB--sgml\fR
+Use the DocBook SGML parser. This allows documents written in SGML DocBook to be converted into an in-memory tree and treated as if they were written in XML.
+.TP
+\fB--html\fR
+Use the HTML parser.
+.TP
+\fB--push\fR
+Use the push mode of the parser.
+.TP
+\fB--memory\fR
+Parse from memory.
+.TP
+\fB--nowarning\fR
+Do not emit warnings from the parser and/or validator.
+.TP
+\fB--noblanks\fR
+Drop ignorable blank spaces.
+.TP
+\fB--format\fR
+Reformat and reindent the output.
+.TP
+\fB--testIO\fR
+Test user input/output support.
+.TP
+\fB--encode\fR \fIencoding\fR
+Output in the given encoding.
+.TP
+\fB--catalogs\fR
+Use the catalogs from $SGML_CATALOG_FILES. Otherwise /etc/xml/catalog is used by default.
+.TP
+\fB--nocatalogs\fR
+Do not use any catalogs.
+.TP
+\fB--auto\fR
+Generate a small document for testing purposes.
+.TP
+\fB--xinclude\fR
+Do XInclude processing.
+.TP
+\fB--loaddtd\fR
+Fetch external DTD.
+.TP
+\fB--dtdattr\fR
+Fetch external DTD and populate the tree with inherited attributes.
+.TP
+\fB--dropdtd\fR
+Remove DTD from output.
+.SH AUTHORS
+John Fleck <jfleck@inkstain.net>, Ziying Sherwin <sherwin@nlm.nih.gov>, Heiko Rupp <hwr@pilhuhn.de>
+This is release 0.2 of the xmllint Manual.
+.SH NOTES
+Source for libxml is available on http://opensolaris.org.
+Documentation for libxml is available on-line at http://www.xmlsoft.org/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/Makefile	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,93 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		libxslt
+COMPONENT_VERSION=	1.1.26
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH=	sha1:69f74df8228b504a87e2b257c2d5238281c65154
+COMPONENT_ARCHIVE_URL=	ftp://xmlsoft.org/libxslt/$(COMPONENT_ARCHIVE)
+
+include ../../make-rules/prep.mk
+include ../../make-rules/configure.mk
+include ../../make-rules/ips.mk
+
+LIBNAME=	xslt
+LIBNAME2=	exslt
+LINTOUT=	lint.out
+
+CFLAGS +=	$(CPP_LARGEFILES)
+LDFLAGS +=	$(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
+
+CONFIGURE_OPTIONS += --disable-static
+CONFIGURE_OPTIONS += --with-pic
+CONFIGURE_OPTIONS += --with-threads
+CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
+CONFIGURE_OPTIONS += --without-crypto
+CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
+CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
+CONFIGURE_OPTIONS += PYTHON_VENDOR_PACKAGES=$(PYTHON_VENDOR_PACKAGES)
+
+PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/$(COMPONENT_SRC)
+
+COMPONENT_PREP_ACTION = \
+	(cd $(@D) ; cp ../mapfile.xslt libxslt/libxslt.syms ; \
+		    cp ../mapfile.exslt libexslt/libexslt.syms ; \
+		    $(RM) libxslt/xsltconfig.h libexslt/exsltconfig.h ; \
+		    libtoolize --force --copy ; aclocal-1.10 ; \
+		    automake-1.10 --addmissing --copy ; autoconf)
+
+COMPONENT_POST_BUILD_ACTION = \
+	(cd $(@D); $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME) -I$(@D) \
+			-I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include \
+			-I/usr/include/libxml2 \
+			$(COMPONENT_DIR)/llib-l$(LIBNAME) > $(LINTOUT) 2>&1 ; \
+	 	    $(LINT) -nsvx $(CC_BITS) -o $(LIBNAME2) -I$(@D) \
+			-I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include \
+			-I/usr/include/libxml2 \
+			$(COMPONENT_DIR)/llib-l$(LIBNAME2) >> $(LINTOUT) 2>&1)
+
+COMPONENT_POST_INSTALL_ACTION = \
+	(cd $(@D); $(INSTALL) llib-l$(LIBNAME).ln \
+			$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)) ; \
+		   $(INSTALL) llib-l$(LIBNAME2).ln \
+			$(PROTO_DIR)/$(CONFIGURE_LIBDIR.$(BITS)))
+
+# common targets
+build:		$(BUILD_32_and_64)
+
+install:	$(INSTALL_32_and_64)
+
+test:	$(TEST_32_and_64)
+
+$(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
+	(cd $(@D) ; gmake tests || exit 0)
+
+BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/libxsl-26.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,44 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/library/python-2/libxsl-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="The XSLT library - Python 2.6 bindings"
+set name=info.classification value=org.opensolaris.category.2008:Development/Python
+set name=info.upstream_url value="http://xmlsoft.org/XSLT"
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+dir path=usr
+dir path=usr/lib
+dir path=usr/lib/python2.6
+dir path=usr/lib/python2.6/vendor-packages
+dir path=usr/lib/python2.6/vendor-packages/64
+file path=usr/lib/python2.6/vendor-packages/libxslt.py
+file path=usr/lib/python2.6/vendor-packages/64/libxsltmod.so
+file path=usr/lib/python2.6/vendor-packages/libxsltmod.so
+
+license xsl.license license=SUNWlxsl-python26.copyright
+
+legacy pkg=SUNWlxsl-python26 \
+	desc="The XSLT library - Python 2.6 bindings" \
+	name="The XSLT library - Python 2.6 bindings"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/libxslt.3	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,49 @@
+.TH libxslt 3 "17 Jul 2002"
+.SH NAME
+libxslt \- library for transforming XML documents
+.SH DESCRIPTION
+The
+.I libxslt
+library is the XSLT library developed for the Gnome project.  XSLT
+itself is a declarative language for transforming XML documents into other
+XML documents, or arbitrary text output using a stylesheet.
+
+.LP
+The
+.I libxslt
+library is based on
+.I libxml2 
+library developed for the Gnome project.  It also implements most
+of the EXSLT set of processor-portable extensions functions and some of Saxon's
+evaluate and expressions extensions.
+
+.SH FILES
+.TP 2.2i
+.B /usr/lib/libxslt.so
+shared object library
+.TP
+.B /usr/lib/libexslt.so
+shared object library
+.TP
+.B /usr/bin/xsltproc
+command line XSLT processor
+.TP
+.B /usr/bin/xslt-config
+binary application for printing library configuration
+.TP
+.B /usr/include/libxslt
+header files
+.TP
+.B /usr/share/lib/xml/style
+stylesheets
+
+.SH AUTHORS
+Daniel Veillard (daniel@veillard.com).
+
+.SH SEE ALSO
+.IR xsltproc (1),
+.IR xslt-config (1),
+.IR libxml (3)
+.SH NOTES
+Source for libxslt is available on http://opensolaris.org.
+Documentation for libxslt is available on-line at http://www.xmlsoft.org/XSLT.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/libxslt.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,102 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/library/libxslt@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="The XSLT library"
+set name=info.classification value=org.opensolaris.category.2008:System/Libraries
+set name=info.upstream_url value="http://xmlsoft.org/XSLT"
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+dir path=usr
+dir path=usr/bin
+dir path=usr/include
+dir path=usr/include/libexslt
+dir path=usr/include/libxslt
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+dir path=usr/lib/$(MACH64)/pkgconfig
+dir path=usr/lib/pkgconfig
+dir path=usr/share
+dir path=usr/share/aclocal
+dir path=usr/share/man
+dir path=usr/share/man/man1
+dir path=usr/share/man/man3
+file xslt-config.1 path=usr/share/man/man1/xslt-config.1
+file xsltproc.1 path=usr/share/man/man1/xsltproc.1
+file path=usr/include/libxslt/documents.h
+file libxslt.3 path=usr/share/man/man3/libxslt.3
+file path=usr/include/libxslt/extensions.h
+file path=usr/bin/xslt-config
+file path=usr/include/libxslt/functions.h
+file path=usr/include/libxslt/namespaces.h
+file path=usr/include/libexslt/exslt.h
+file path=usr/include/libxslt/extra.h
+file path=usr/include/libxslt/keys.h
+file path=usr/include/libxslt/attributes.h
+file path=usr/include/libexslt/exsltconfig.h
+file path=usr/include/libxslt/imports.h
+file path=usr/include/libexslt/exsltexports.h
+file path=usr/include/libxslt/preproc.h
+file path=usr/include/libxslt/numbersInternals.h
+file path=usr/include/libxslt/pattern.h
+file path=usr/include/libxslt/security.h
+file path=usr/include/libxslt/templates.h
+file path=usr/include/libxslt/transform.h
+file path=usr/include/libxslt/variables.h
+file path=usr/include/libxslt/xslt.h
+file path=usr/include/libxslt/xsltInternals.h
+file path=usr/include/libxslt/xsltconfig.h
+file path=usr/include/libxslt/xsltexports.h
+file path=usr/include/libxslt/xsltlocale.h
+file path=usr/include/libxslt/xsltutils.h
+file llib-lexslt path=usr/lib/llib-lexslt
+file path=usr/lib/pkgconfig/libxslt.pc
+file llib-lexslt path=usr/lib/llib-lxslt
+file path=usr/lib/pkgconfig/libexslt.pc
+file path=usr/bin/xsltproc
+file path=usr/share/aclocal/libxslt.m4
+file path=usr/lib/$(MACH64)/libexslt.so.0
+file path=usr/lib/$(MACH64)/libxslt.so.1
+file path=usr/lib/libexslt.so.0
+file path=usr/lib/libxslt.so.1
+file path=usr/lib/$(MACH64)/llib-lexslt.ln
+file path=usr/lib/$(MACH64)/llib-lxslt.ln
+file path=usr/lib/$(MACH64)/pkgconfig/libexslt.pc
+file path=usr/lib/$(MACH64)/pkgconfig/libxslt.pc
+file path=usr/lib/llib-lexslt.ln
+file path=usr/lib/llib-lxslt.ln
+link path=usr/lib/libexslt.so target=./libexslt.so.0
+link path=usr/lib/libxslt.so target=./libxslt.so.1
+link path=usr/lib/$(MACH64)/libxslt.so target=libxslt.so.1
+link path=usr/lib/$(MACH64)/libexslt.so target=libexslt.so.0
+
+license xsl.license license=SUNWlxsl.copyright
+
+legacy pkg=SUNWlxsl \
+	name="The XSLT library" \
+	desc="The XSLT library"
+
+legacy pkg=SUNWlxsl-devel \
+	name="The XSLT library - developer files" \
+	desc="The XSLT library - developer files"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/llib-lexslt	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,40 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ */
+
+/* LINTLIBRARY */
+/* PROTOLIB1 */
+
+/*
+ * This little dance is necessary to avoid ftello/fseeko
+ * complaints vs libc. We don't use them but we do #include
+ * stdio.h and as we are large file aware they get defined
+ * differently than libc.
+ */
+#include <sys/types.h>
+#undef _LARGEFILE_SOURCE
+
+#include <libexslt/exslt.h>
+#include <libexslt/exsltexports.h>
+#include <libexslt/exsltconfig.h>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/llib-lxslt	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,57 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ */
+
+/* LINTLIBRARY */
+/* PROTOLIB1 */
+
+/*
+ * This little dance is necessary to avoid ftello/fseeko
+ * complaints vs libc. We don't use them but we do #include
+ * stdio.h and as we are large file aware they get defined
+ * differently than libc.
+ */
+#include <sys/types.h>
+#undef _LARGEFILE_SOURCE
+
+#include <libxslt/xslt.h>
+#include <libxslt/xsltInternals.h>
+#include <libxslt/xsltconfig.h>
+#include <libxslt/xsltexports.h>
+#include <libxslt/xsltutils.h>
+#include <libxslt/attributes.h>
+#include <libxslt/documents.h>
+#include <libxslt/extensions.h>
+#include <libxslt/extra.h>
+#include <libxslt/functions.h>
+#include <libxslt/imports.h>
+#include <libxslt/keys.h>
+#include <libxslt/namespaces.h>
+#include <libxslt/numbersInternals.h>
+#include <libxslt/pattern.h>
+#include <libxslt/preproc.h>
+#include <libxslt/security.h>
+#include <libxslt/templates.h>
+#include <libxslt/transform.h>
+#include <libxslt/variables.h>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/mapfile.exslt	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,35 @@
+#
+# MAPFILE HEADER START
+#
+# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+#	usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+# Note that the source above actually lives in the ON tree.
+#
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.1 {
+	global:
+		exsltCommonRegister;
+		exsltDateRegister;
+		exsltDynRegister;
+		exsltFuncRegister;
+		exsltMathRegister;
+		exsltRegisterAll;
+		exsltSaxonRegister;
+		exsltSetsRegister;
+		exsltStrRegister;
+		exsltLibexsltVersion;
+		exsltLibraryVersion;
+		exsltLibxmlVersion;
+		exsltLibxsltVersion;
+	local:
+		*;
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/mapfile.xslt	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,277 @@
+#
+# MAPFILE HEADER START
+#
+# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
+# Object versioning must comply with the rules detailed in
+#
+#	usr/src/lib/README.mapfiles
+#
+# You should not be making modifications here until you've read the most current
+# copy of that file. If you need help, contact a gatekeeper for guidance.
+#
+# MAPFILE HEADER END
+#
+# Note that the source above actually lives in the ON tree.
+#
+$mapfile_version 2
+
+SYMBOL_VERSION SUNW_1.4 {
+	global:
+		xsltCheckExtURI;
+		xsltExtensionInstructionResultFinalize;
+		xsltExtensionInstructionResultRegister;
+		xsltFreeLocale;
+		xsltInit;
+		xsltInitAllDocKeys;
+		xsltInitGlobals;
+		xsltLocaleStrcmp;
+		xsltLocalVariablePop;
+		xsltLocalVariablePush;
+		xsltNewLocale;
+		xsltRegisterLocalRVT;
+		xsltReleaseRVT;
+		xsltStrxfrm;
+		xsltUninit;
+} SUNW_1.3;
+
+SYMBOL_VERSION SUNW_1.3 {
+	global:
+		xsltDocDefaultLoader;
+		xsltSetLoaderFunc;
+} SUNW_1.2;
+
+SYMBOL_VERSION SUNW_1.2 {
+	global:
+		xsltAttrTemplateValueProcessNode;
+		xsltCheckRead;
+		xsltCheckWrite;
+		xsltCompileAttr;
+		xsltComputeSortResult;
+		xsltCopyTextString;
+		xsltCreateRVT;
+		xsltDebugGetDefaultTrace;
+		xsltDebugSetDefaultTrace;
+		xsltDefaultSortFunction;
+		xsltDefaultTrace;
+		xsltEvalAVT;
+		xsltEvalXPathStringNs;
+		xsltFreeAVTList;
+		xsltFreeRVTs;
+		xsltFreeSecurityPrefs;
+		xsltGetCNsProp;
+		xsltGetDebuggerStatus;
+		xsltGetDefaultSecurityPrefs;
+		xsltGetExtInfo;
+		xsltGetPlainNamespace;
+		xsltGetProfileInformation;
+		xsltGetQNameURI2;
+		xsltGetSecurityPrefs;
+		xsltGetUTF8Char;
+		xsltNewSecurityPrefs;
+		xsltNormalizeCompSteps;
+		xsltParseStylesheetImportedDoc;
+		xsltRegisterPersistRVT;
+		xsltRegisterTmpRVT;
+		xsltSecurityAllow;
+		xsltSecurityForbid;
+		xsltSetCtxtParseOptions;
+		xsltSetCtxtSecurityPrefs;
+		xsltSetCtxtSortFunc;
+		xsltSetDebuggerStatus;
+		xsltSetDefaultSecurityPrefs;
+		xsltSetSecurityPrefs;
+		xsltSetSortFunc;
+		xsltSetTransformErrorFunc;
+		xsltSplitQName;
+		xsltTransformError;
+		xsltXPathCompile;
+} SUNW_1.1;
+
+SYMBOL_VERSION SUNW_1.1 {
+	global:
+		xslAddCall;
+		xslDropCall;
+		xslHandleDebugger;
+		xsltAddKey;
+		xsltAddStackElemList;
+		xsltAddTemplate;
+		xsltAllocateExtra;
+		xsltAllocateExtraCtxt;
+		xsltApplyAttributeSet;
+		xsltApplyImports;
+		xsltApplyOneTemplate;
+		xsltApplyStripSpaces;
+		xsltApplyStylesheet;
+		xsltApplyStylesheetUser;
+		xsltApplyTemplates;
+		xsltAttrListTemplateProcess;
+		xsltAttrTemplateProcess;
+		xsltAttrTemplateValueProcess;
+		xsltAttribute;
+		xsltCalibrateAdjust;
+		xsltCallTemplate;
+		xsltCheckExtPrefix;
+		xsltChoose;
+		xsltCleanupGlobals;
+		xsltCleanupTemplates;
+		xsltComment;
+		xsltCompilePattern;
+		xsltCopy;
+		xsltCopyNamespace;
+		xsltCopyNamespaceList;
+		xsltCopyOf;
+		xsltCopyTree;
+		xsltDebug;
+		xsltDebugDumpExtensions;
+		xsltDecimalFormatGetByName;
+		xsltDoSortFunction;
+		xsltDocumentComp;
+		xsltDocumentElem;
+		xsltDocumentFunction;
+		xsltDocumentSortFunction;
+		xsltElement;
+		xsltElementAvailableFunction;
+		xsltEvalAttrValueTemplate;
+		xsltEvalGlobalVariables;
+		xsltEvalOneUserParam;
+		xsltEvalStaticAttrValueTemplate;
+		xsltEvalTemplateString;
+		xsltEvalUserParams;
+		xsltEvalXPathPredicate;
+		xsltEvalXPathString;
+		xsltExtElementLookup;
+		xsltExtModuleElementLookup;
+		xsltExtModuleElementPreComputeLookup;
+		xsltExtModuleFunctionLookup;
+		xsltExtModuleTopLevelLookup;
+		xsltFindDocument;
+		xsltFindElemSpaceHandling;
+		xsltFindTemplate;
+		xsltForEach;
+		xsltFormatNumberConversion;
+		xsltFormatNumberFunction;
+		xsltFreeAttributeSetsHashes;
+		xsltFreeCompMatchList;
+		xsltFreeCtxtExts;
+		xsltFreeDocumentKeys;
+		xsltFreeDocuments;
+		xsltFreeExts;
+		xsltFreeGlobalVariables;
+		xsltFreeKeys;
+		xsltFreeNamespaceAliasHashes;
+		xsltFreeStackElemList;
+		xsltFreeStyleDocuments;
+		xsltFreeStylePreComps;
+		xsltFreeStylesheet;
+		xsltFreeTemplateHashes;
+		xsltFreeTransformContext;
+		xsltFunctionAvailableFunction;
+		xsltFunctionNodeSet;
+		xsltGenerateIdFunction;
+		xsltGetExtData;
+		xsltGetKey;
+		xsltGetNamespace;
+		xsltGetNsProp;
+		xsltGetQNameURI;
+		xsltGetSpecialNamespace;
+		xsltGetTemplate;
+		xsltGetXIncludeDefault;
+		xsltIf;
+		xsltInitCtxtExts;
+		xsltInitCtxtKeys;
+		xsltInitElemPreComp;
+		xsltIsBlank;
+		xsltKeyFunction;
+		xsltLoadDocument;
+		xsltLoadStyleDocument;
+		xsltLoadStylesheetPI;
+		xsltMessage;
+		xsltNamespaceAlias;
+		xsltNeedElemSpaceHandling;
+		xsltNewDocument;
+		xsltNewElemPreComp;
+		xsltNewStyleDocument;
+		xsltNewStylesheet;
+		xsltNewTransformContext;
+		xsltNextImport;
+		xsltNumber;
+		xsltNumberFormat;
+		xsltParseGlobalParam;
+		xsltParseGlobalVariable;
+		xsltParseStylesheetAttributeSet;
+		xsltParseStylesheetCallerParam;
+		xsltParseStylesheetDoc;
+		xsltParseStylesheetFile;
+		xsltParseStylesheetImport;
+		xsltParseStylesheetInclude;
+		xsltParseStylesheetOutput;
+		xsltParseStylesheetParam;
+		xsltParseStylesheetProcess;
+		xsltParseStylesheetVariable;
+		xsltParseTemplateContent;
+		xsltPreComputeExtModuleElement;
+		xsltPrintErrorContext;
+		xsltProcessOneNode;
+		xsltProcessingInstruction;
+		xsltProfileStylesheet;
+		xsltQuoteOneUserParam;
+		xsltQuoteUserParams;
+		xsltRegisterAllElement;
+		xsltRegisterAllExtras;
+		xsltRegisterAllFunctions;
+		xsltRegisterExtElement;
+		xsltRegisterExtFunction;
+		xsltRegisterExtModule;
+		xsltRegisterExtModuleElement;
+		xsltRegisterExtModuleFull;
+		xsltRegisterExtModuleFunction;
+		xsltRegisterExtModuleTopLevel;
+		xsltRegisterExtPrefix;
+		xsltRegisterExtras;
+		xsltRegisterTestModule;
+		xsltResolveStylesheetAttributeSet;
+		xsltRunStylesheet;
+		xsltRunStylesheetUser;
+		xsltSaveProfiling;
+		xsltSaveResultTo;
+		xsltSaveResultToFd;
+		xsltSaveResultToFile;
+		xsltSaveResultToFilename;
+		xsltSaveResultToString;
+		xsltSetDebuggerCallbacks;
+		xsltSetGenericDebugFunc;
+		xsltSetGenericErrorFunc;
+		xsltSetXIncludeDefault;
+		xsltShutdownCtxtExts;
+		xsltShutdownExts;
+		xsltSort;
+		xsltStyleGetExtData;
+		xsltStylePreCompute;
+		xsltSystemPropertyFunction;
+		xsltTemplateProcess;
+		xsltTestCompMatchList;
+		xsltText;
+		xsltTimestamp;
+		xsltUnparsedEntityURIFunction;
+		xsltUnregisterExtModule;
+		xsltUnregisterExtModuleElement;
+		xsltUnregisterExtModuleFunction;
+		xsltUnregisterExtModuleTopLevel;
+		xsltValueOf;
+		xsltVariableLookup;
+		xsltXPathFunctionLookup;
+		xsltXPathGetTransformContext;
+		xsltXPathVariableLookup;
+		xslDebugStatus;
+		xsltEngineVersion;
+		xsltExtMarker;
+		xsltGenericDebug;
+		xsltGenericDebugContext;
+		xsltGenericError;
+		xsltGenericErrorContext;
+		xsltLibxmlVersion;
+		xsltLibxsltVersion;
+		xsltMaxDepth;
+	local:
+		*;
+};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/patches/configure.in.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,13 @@
+--- libxslt-1.1.26/configure.in.orig	Mon Mar 21 13:06:53 2011
++++ libxslt-1.1.26/configure.in	Mon Mar 21 13:08:28 2011
+@@ -348,6 +348,10 @@
+     else
+         pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
+     fi
++    if test "$PYTHON_VENDOR_PACKAGES" != ""
++    then
++        PYTHON_SITE_PACKAGES=$PYTHON_VENDOR_PACKAGES
++    fi
+ fi
+ AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
+ if test "$PYTHON_INCLUDES" != ""
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/patches/libxslt.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,22 @@
+--- libxslt-1.1.26/libexslt/Makefile.am.orig	Mon Mar 21 11:57:38 2011
++++ libxslt-1.1.26/libexslt/Makefile.am	Mon Mar 21 12:00:10 2011
+@@ -26,8 +26,18 @@
+ 	libexslt.h			\
+ 	dynamic.c
+ 
++if USE_VERSION_SCRIPT
++LIBEXSLT_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libexslt.syms
++else
++LIBEXSLT_VERSION_SCRIPT =
++endif
++
+ libexslt_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS)
+-libexslt_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -version-info @LIBEXSLT_VERSION_INFO@ $(LIBGCRYPT_LIBS)
++libexslt_la_LDFLAGS =					\
++		$(WIN32_EXTRA_LDFLAGS)			\
++		$(LIBEXSLT_VERSION_SCRIPT)		\
++		$(LIBGCRYPT_LIBS)			\
++		-version-info @LIBEXSLT_VERSION_INFO@
+ 
+ man_MANS = libexslt.3
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/xsl.license	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,54 @@
+Licence for libxslt except libexslt
+----------------------------------------------------------------------
+ Copyright (C) 2001-2002 Daniel Veillard.  All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is fur-
+nished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of Daniel Veillard shall not
+be used in advertising or otherwise to promote the sale, use or other deal-
+ings in this Software without prior written authorization from him.
+
+----------------------------------------------------------------------
+
+Licence for libexslt
+----------------------------------------------------------------------
+ Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
+ All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is fur-
+nished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of the authors shall not
+be used in advertising or otherwise to promote the sale, use or other deal-
+ings in this Software without prior written authorization from him.
+----------------------------------------------------------------------
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/xslt-config.1	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,41 @@
+.TH xslt-config 1 "17 Jul 2002"
+.SH NAME
+xslt-config - script to get information about the installed version of libxslt
+.SH SYNOPSIS
+.B xslt-config
+[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] 
+[\-\-libs] [\-\-cflags] [\-\-version] [\-\-help]
+.SH DESCRIPTION
+\fIxslt-config\fP is a tool that is used to determine the compile and
+linker flags that should be used to compile and link programs that use
+\fIlibxslt\fP.
+.SH OPTIONS
+.l
+\fIxslt-config\fP accepts the following options:
+.TP 8
+.B  \-\-version
+Print the currently installed version of \fIlibxslt\fP on the standard output.
+.TP 8
+.B  \-\-libs
+Print the linker flags that are necessary to link a \fIlibxslt\fP program.
+.TP 8
+.B  \-\-cflags
+Print the compiler flags that are necessary to compile a \fIlibxslt\fP program.
+.TP 8
+.B  \-\-prefix=PREFIX
+If specified, use PREFIX instead of the installation prefix that
+\fIlibxslt\fP was built with when computing the output for the
+\-\-cflags and \-\-libs options. This option must be specified before
+any \-\-libs or \-\-cflags options.
+.TP 8
+.B  \-\-exec\-prefix=PREFIX
+If specified, use PREFIX instead of the executable prefix that
+\fIlibxslt\fP was built with when computing the output for the
+\-\-cflags and \-\-libs options. This option must be specified before
+any \-\-libs or \-\-cflags options.
+
+.SH AUTHORS
+Daniel Veillard (daniel@veillard.com)
+.SH NOTES
+Source for libxslt is available on http://opensolaris.org.
+Documentation for libxslt is available on-line at http://www.xmlsoft.org/XSLT.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/xsltproc.1	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,130 @@
+."Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "xsltproc" 1 "2002 Jun 27"
+.SH NAME
+xsltproc \- command line xslt processor
+.SH "SYNOPSIS"
+\fBxsltproc\fR [\fB-V\fR | \fB-v\fR | \fB-o  \fIfile\fR \fR | \fB--timing\fR | \fB--repeat\fR | \fB--debug\fR | \fB--novalid\fR | \fB--noout\fR | \fB--maxdepth  \fIval\fR \fR | \fB--html\fR | \fB--docbook\fR | \fB--param  \fIname\fR   \fIvalue\fR \fR | \fB--stringparam  \fIname\fR   \fIvalue\fR \fR | \fB--nonet\fR | \fB--warnnet\fR | \fB--catalogs\fR | \fB--xinclude\fR | \fB--profile\fR] [\fB\fIstylesheet\fR\fR] [ \fIfile1\fR ] [ \fIfile2\fR ] [ \fI....\fR ]
+.SH "INTRODUCTION"
+
+.PP
+xsltproc is a command line tool for applying XSLT stylesheets to XML documents. It is part of libxslt, the XSLT C library for GNOME. While it was developed as part of the GNOME project, it can operate independently of the GNOME desktop.
+.PP
+xsltproc is invoked from the command line with the name of the stylesheet to be used followed by the name of the file or files to which the stylesheet is to be applied.
+.PP
+If a stylesheet is included in an XML document with a Stylesheet Processing Instruction, no stylesheet need be named at the command line. xsltproc will automatically detect the included stylesheet and use it.
+.PP
+By default, output is to stdout. You can specify a file for output using the \fB-o\fR option.
+
+.SH "COMMAND LINE OPTIONS"
+
+.TP
+\fB-V\fR or \fB--version\fR
+Show the version of libxml and libxslt used.
+.TP
+\fB-v\fR or \fB--verbose\fR
+Output each step taken by xsltproc in processing the stylesheet and the document.
+.TP
+\fB-o\fR or \fB--output\fR \fIfile\fR
+Direct output to the file named \fIfile\fR. For multiple outputs, also known as "chunking", \fB-o\fR \fBdirectory/\fR directs the output files to a specified directory. The directory must already exist.
+.TP
+\fB--timing\fR
+Display the time used for parsing the stylesheet, parsing the document and applying the stylesheet and saving the result. Displayed in milliseconds.
+.TP
+\fB--repeat\fR
+Run the transformation 20 times. Used for timing tests.
+.TP
+\fB--debug\fR
+Output an XML tree of the transformed document for debugging purposes.
+.TP
+\fB--novalid\fR
+Skip loading the document's DTD.
+.TP
+\fB--noout\fR
+Do not output the result.
+.TP
+\fB--maxdepth\fR \fIvalue\fR
+Adjust the maximum depth of the template stack before libxslt concludes it is in an infinite loop. The default is 500.
+.TP
+\fB--html\fR
+The input document is an HTML file.
+.TP
+\fB--docbook\fR
+The input document is DocBook SGML.
+.TP
+\fB--param\fR \fIname\fR \fIvalue\fR
+Pass a parameter of name \fIname\fR and value \fIvalue\fR to the stylesheet. You may pass multiple name/value pairs up to a maximum of 32. If the value being passed is a string rather than a node identifier, use \fB--stringparam\fR instead.
+.TP
+\fB--stringparam\fR \fIname\fR \fIvalue\fR
+Pass a paramenter of name \fIname\fR and value \fIvalue\fR where \fIvalue\fR is a string rather than a node identifier.
+.TP
+\fB--nonet\fR
+Do not use the Internet to fetch DTD's or entities.
+.TP
+\fB--warnnet\fR
+Output notification when DTD's or entities are fetched over the Internet.
+.TP
+\fB--catalogs\fR
+Use catalogs to resolve the location of external entities. This speeds DTD resolution. By having a catalog file point to a local version of the DTD, xsltproc does not have to use the Internet to fetch the DTD. xsltproc uses the catalog identified by the environmental variable \fBSGML_CATALOG_FILES\fR.
+.TP
+\fB--xinclude\fR
+Process the input document using the Xinclude specification. More details on this can be found in the Xinclude specification: http://www.w3.org/TR/xinclude/.
+.TP
+\fB--profile\fR or \fB--norman\fR
+Output profiling information detailing the amount of time spent in each part of the stylesheet. This is useful in optimizing stylesheet performance.
+
+.SH "RETURN VALUES"
+
+.PP
+xsltproc's return codes provide information that can be used when calling it from scripts.
+
+.PP
+0: normal
+.PP
+1: no argument
+.PP
+2: too many parameters
+.PP
+3: unknown option
+.PP
+4: failed to parse the stylesheet
+.PP
+5: error in the stylesheet
+.PP
+6: error in one of the documents
+.PP
+7: unsupported xsl:output method
+.PP
+8: string parameter contains both quote and double-quotes
+
+.SH "MORE INFORMATION"
+
+.PP
+libxml web page: http://www.xmlsoft.org/
+.PP
+W3C XSLT page: http://www.w3.org/TR/xslt
+
+.SH AUTHOR
+Copyright 2001 by John Fleck  <jfleck@inkstain.net>.
+This is release 0.2 of the xsltproc Manual.
+
+.SH NOTES
+Source for libxslt is available on http://opensolaris.org.
+Documentation for libxslt is available on-line at http://xmlsoft.org/XSLT/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWlxml-python26.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+set name=pkg.fmri value=pkg:/SUNWlxml-python26@2.7.6,5.11-0.133
+set name=pkg.renamed value=true
+
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+depend fmri=library/python-2/libxml2-26@2.7.6-0.133 type=require
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWlxml.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+set name=pkg.fmri value=pkg:/SUNWlxml@2.7.6,5.11-0.133
+set name=pkg.renamed value=true
+
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+depend fmri=library/libxml2@2.7.6-0.133 type=require
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWlxsl-python26.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/SUNWlxsl-python26@1.1.26,5.11-0.133
+
+set name=pkg.renamed value=true
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+depend fmri=library/python-2/libxsl-26@1.1.26-0.133 type=require
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/history/SUNWlxsl.p5m	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri value=pkg:/SUNWlxsl@1.1.26,5.11-0.133
+
+set name=pkg.renamed value=true
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+depend fmri=library/libxslt@1.1.26-0.133 type=require
--- a/make-rules/shared-macros.mk	Wed Mar 23 14:35:32 2011 -0700
+++ b/make-rules/shared-macros.mk	Thu Mar 24 12:44:50 2011 -0700
@@ -178,11 +178,16 @@
 
 LD =		/usr/bin/ld
 
+PYTHON_VENDOR_PACKAGES.32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages
+PYTHON_VENDOR_PACKAGES.64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64
+PYTHON_VENDOR_PACKAGES = $(PYTHON_VENDOR_PACKAGES.$(BITS))
+
 PYTHON.2.6.32 =	/usr/bin/python2.6
 PYTHON.2.6.64 =	/usr/bin/$(MACH64)/python2.6
 
 PYTHON.32 =	$(PYTHON.$(PYTHON_VERSION).$(BITS))
 PYTHON.64 =	$(PYTHON.$(PYTHON_VERSION).$(BITS))
+PYTHON =	$(PYTHON.$(PYTHON_VERSION).$(BITS))
 
 # The default is site-packages, but that directory belongs to the end-user.
 # Modules which are shipped by the OS but not with the core Python distribution