Skip to content
Commits on Source (9)
Changes in V3.0.2 since V3.0.1
* XMLBEANS-520: wrong name for source(s) artifact
* XMLBEANS-519: issue when using old XML parser versions
* XMLBEANS-506: NPE trying to load resource file if XmlBeans was loaded by the bootstrap ClassLoader
Changes in V3.0.1 since V3.0.0
* XMLBEANS-518: add support to XmlOptions to allow control over the XML parser settings that affect DTD loading
and entity expansion
Changes in V3.0.0 since V2.6.0
* XMLBEANS-517: use safe XML parsers
* XMLBEANS-516: remove unnecessary javax and org.w3c classes
* XMLBEANS-515: remove piccolo support
* XMLBEANS-514: make java 6 the lowest supported runtime
* XMLBEANS-489: fix for Cursor getAllNamespaces not returning default namespace
* Fix for XMLBEANS-499: xmlbeans2.6.0.jar contains duplicate class files (causes issues
on Android)
* XMLBEANS-447: Drop the ConcurrentReaderHashMap source code
* Fix for XMLBEANS-404: entitizeContent CDATA loop iterating too many times (causes
assertion error or ArrayIndexOutOfBoundsException in replace)
* Fix for XMLBEANS-332: XMLBeans changes surrogate pair bytes to question marks
Changes in V2.6.0 since V2.5.0
* Add new xml option CopyUseNewSynchronizationDomain used for copy.
This fixes the scenario when copy and access (ex. selectPath) are used
in a multithreading environment.
* Entitize \r when not in pretty print, this helps with maintaining \r
entities.
* Fix validation of integer value containing dot char.
* Fix chars in comments to avoid errors in IntelliJ under linux.
* Update durations to latest spec.
* Fix for compiling schema that contains complex type with simple
content that has facets defined in the base simple type
* Fix for Piccolo lexer when read method returns 0.
* Fix to preserve the CDATA bookmarks when copy from one xmlobject to
another.
* Fix bug when resizing circular buffer in saver's output stream
implementation.
* Fix for bug when not specifing type for a particle in derived schema
type and when minOccurs is 0.
* Fixed error messages when contain base and derived type names.
* Introducing a default maximum entity replacement limit of 10kb, it can
be controled by using the option XmlOptions.setLoadEntityBytesLimit.
* Fixed javadoc for inst2xsd and xsd2inst tools.
* Fix NPE in SchemaTypeImpl.getEnumJavaClass().
* Added multiple entry points and refactored code for xsd2inst code.
* Remove org.w3c.dom files from xbean.jar.
* Add another xpath and xquery interface implementation.
* Add src/xmlinputstream classes org.apache.xmlbeans.xml.stream.* to
xmlpublic.jar.
* Make bootstrap run twice to avoid GUMP error emails.
* Fix for bug XMLBEANS-396: GML 3.1.1 generated code fails to compile.
* Fix for bug XMLBEANS-412: Pattern facet regex requires dash - to be
escaped.
* Fix for bug XMLBEANS-414: error cvc-complex-type.2.1: Element 'XXXX'
with empty content type cannot have text or element content.
Changes in V2.5.0 since V2.4.0
* Exit codes for InstanceValidator
* Decimal precision handling fix in xsd2inst
* Option to perform additional, stricter Schema validation checks: XMLBEANS-350
* updated pattern for dayTimeDuration
* Extended year min/max value limitations
* Support for date and time types with hour 24.
* NOTATION built-in type
* DocType fix when root element is changed
* "User types" feature - allows mapping of Schema simple types to custom user Java classes
http://wiki.apache.org/xmlbeans/UserTypes
* Nested enumeration type compilation error fix: XMLBEANS-381
* Deadlock fix in generated impl setter simple and array
* Required attribute fix in streaming validator
* Many other fixes and optimizations
Changes in V2.4.0 since V2.3.0
* Pluggable XPath/XQuery engine support
* Upgraded support for Saxon 9
* Added Schema compilation option to skip errors in case duplicate component declarations are encountered.
* Finer grained support for CDATA
* Tool to generate XPath for a given cursor position in a document
* added more fine-grained control over XML to Java name mapping
* Add support for JVM-supported encodings
* Adding XmlError codes
* Replace static HashMaps with WeakHashMaps
* Fix for XMLBEANS-309 Warnings on Generated code
* Fix for XMLBEANS-361 invalid NaN comparisons
* Fix qname marshaling when empty namespace
* Various other bug fixes
Changes in V2.3.0 since V2.2.0
* Improved Saxon support, Saxon 8.8 became the recommended version
* Added options to control use of CDATA sections when saving to XML
* Added support for QNames in Schema annotations
* Added support for new encodings: UTF-16LE, UTF-16BE, CP936/GBK.
* Fix: overzealous whitespace cropping after parsing entities like & (XMLBEANS-274)
* Fix: selectPath() with setXqueryCurrentNodeVar() option does not work for Saxon (XMLBEANS-276)
* Fix: synchronization problem with array setters
* Fix: Saver$TextSaver.replace method throws java.lang.ArrayIndexOutOfBoundsException (XMLBEANS-209)
* Fix: QNameSet generated by QNameSet.forArray(QName[]) can't be unioned with other QNameSets (XMLBEANS-290)
* Fix: java.lang.ArrayIndexOutOfBoundsException when saving XML (XMLBEANS-291)
* Fix: XQuery gives wrong result with Saxon 8.6.1 (XMLBEANS-275)
* Fix: bug during generation of complex types with simple content
* Fix: improved error handling during loading of Schema type system
* Fix: bugs in Duration serialization
* Fix: XMLCursor.getTextValue()
* Fix: Remove year zero from GDate, GDateBuilder and XmlCalendar per XMLSchema spec D.3.2
Changes in v2.2.0 since v2.1.0:
* Allow polymorphism in Extension Interfaces Feature
* Fix for circular buffer in TextSaver
* Tuned synchronization for multithreaded validation
* Updated to the latest XMLSchema.xsd - January 25, 2006
* Better QName validation
* Fix insertion positions when using substitution groups with arrays
* Updated XmlBeans to work with SaxonB-8.6.1 in place of SaxonB8.1
* Fix for regex validation in multi-threaded, multi-processor environment
* Fix for schema compilation error when restricting complex type with simple content
* Implemented XMLInputStream interface for saving a store
* XQuery external variable binding support
* Various other bug fixes
Changes in v2.1.0 since v2.0.0:
* Fixed the issue whereby some IDEs would have problems with the TypeSystemHolder class being generated in the classes directory
* Better integration with Maven
* Implemented support for ID/IDREF in DTDs via DOM's .getElementByID()
* Integrated a patch that makes XmlBeans work in a sandboxed environment
* Added the ability to control entitization of characters when saving documents
* Fixed issue with memory reclamation in multi-threaded environments, which was delayed too much so it could be mistaken for a memory leak
* Added numerous new test cases and performance tests
* Continued improving performance, especially in the DOM support and XmlCursor areas
* Added column numbers support in our snapshot of Piccolo; validation and XMLSchema error reporting benefit from this and is of course usable from user code
* Line/column number is now also available for end-tags
* Solved a legal inconsistency surrounding our use of JSR173 APIs
* Fixed a lot of reported issues in various areas of the product
Changes in v2.0.0 since v2.0.0-beta1:
* many performance related changes, especialy in the DOM and Cursor areas
* rewrite of the <xs:redefine> support
* Completed the implementation of Filer
* new documentation on xs:any, validation plus updates of the old docs
* many bug fixes, including perm gen memory bug
Changes in v2.0.0-beta1:
* new store implementation, including native DOM implementation
* Piccolo is now the default parser.XmlOptions.setLoadUseXMLReader (XMLReader xmlReader) can be used when a diffrent parser is required.
* Sample xml generation from an schema file
* New failfast behavior for simple types, more consistent
* EntityResolver is setable in SchemaCompiler
* XPath 2.0 and Xquery support through Saxon
* java 1.5 generics for array properties added to generated source
* Simplified working with substitution groups by adding XmlObject.substitute() method
* "-noVDoc" command-line option for scomp to skip validation of <xs:documentation> contents
* uniform access to the getSourceName() method in Schema Object Model
* Cleaned up schema compilation APIs with a XmlBeans.compileXmlBeans()
* Added error codes and improved validation error messages
* Changed .xsb format and loading strategy to improve performance
* Ability to pass URLs instead of Files for Wsdl/Schemas
* Added option to pass in "##local" to -allowmdef
* Inst2xsd: support for xsi:nil and qname fix.
* adding getCurrentElementSchemaType in Validator for finding schema types of elements with xsi:type attribute
* adding ValidatingInfoXMLStreamReader for PSVI access on XMLStreamReaders
* added Location to streaming validation errors
* Instance 2 schema tool
* Support for arbitrarily nesting <xsd:redefine>s
* New "schema bookmark" mechanism allowing one to tag user data on Schema Object Model entities
* Add ability for XmlSaxHandler to insert bookmarks while loading
* Added a diff utility that compares two jars (or directories) containing compiled Schema types
* Interface and pre-post extensions
* Enabled ValidatingXMLStreamReader to start validating from both current and next event in the XMLStreamReader
* Functionality to retrieve xml validation errors programatically
* Added saver options to not save xml decl
* Added ability to compile Schemas containing references to SOAP11 encoded arrays
* selectChildren and selectAttributes for dynamic getters and some wildcard scenarios
* Location in ValidatingXmlStreamReader
* Added a wrapper over jsr173's XMLStreamReader
* Added support for default value in XMLStreamReaderExt interface and implementation
* Adding typed value for QName case in the Validator
* Adding an utility for validation of simple schema types
* Improved the Validator to ofer PSVI info
* Exposed some of the XMLSchema validator functionality in the public interfaces
* Added support for XML Catalog, based on Apache Commons CatalogResolver
* Added XMLStreamReaderExt an extention of XMLStreamReader which alowes getting strongly typed java values from a stream
* Adds support for annotations in XMLSchema
* Added JSR 173 support
* performance tests
* various feature tests
* samples and documentation
* packaging, licencing changes
This diff is collapsed.
File mode changed from 100644 to 100755
......@@ -3,7 +3,7 @@
== Version 2.0, in this case for the Apache XmlBeans distribution. ==
=========================================================================
This product includes software developed by
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Portions of this software were originally based on the following:
......@@ -22,8 +22,3 @@
- resolver.jar from Apache Xml Commons project,
Copyright (c) 2001-2003 Apache Software Foundation
- Piccolo XML Parser for Java from http://piccolo.sourceforge.net/,
Copyright 2002 Yuval Oren under the terms of the Apache Software License 2.0
- JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpullparser/,
Copyright 2005 BEA under the terms of the Apache Software License 2.0
Project Homepage:
http://xmlbeans.apache.org/
Active committers:
Cezar Andrei cezar at apache dot org
Radu Preotiuc-Pietro radu.preotiuc-pietro at oracle dot com
Jacob Danner jacob dot danner at gmail.com
Wing Yew Poon wing.yew.poon at oracle dot com
FAQ:
http://wiki.apache.org/xmlbeans/XmlBeansFaq
This diff is collapsed.
xmlbeans (3.0.2-1) unstable; urgency=medium
* New upstream release
- No longer build the qname jar
- Updated the Maven poms
* Standards-Version updated to 4.3.0
* Switch to debhelper level 11
-- Emmanuel Bourg <ebourg@apache.org> Mon, 21 Jan 2019 12:02:22 +0100
xmlbeans (2.6.0+dfsg-4) unstable; urgency=medium
* Team upload
......
......@@ -11,7 +11,7 @@ Build-Depends:
libsaxonhe-java,
libxmlbeans-java,
maven-repo-helper
Standards-Version: 4.1.5
Standards-Version: 4.3.0
Vcs-Git: https://salsa.debian.org/java-team/xmlbeans.git
Vcs-Browser: https://salsa.debian.org/java-team/xmlbeans
Homepage: http://xmlbeans.apache.org
......
......@@ -17,7 +17,7 @@ Files: debian/*
Copyright: 2009, Thierry Carrez <thierry.carrez@ubuntu.com>
2010-2011, Damien Raude-Morvan <drazzib@debian.org>
2010, Torsten Werner <twerner@debian.org>
2013-2016, Emmanuel Bourg <ebourg@apache.org>
2013-2018, Emmanuel Bourg <ebourg@apache.org>
2016-2018, Eugene Zhukov <eugene@debian.org>
2017, Markus Koschany <apo@debian.org>
License: Apache-2.0
......
debian/poms/xmlbeans.xml --java-lib --artifact=build/lib/xbean.jar
debian/poms/xpath.xml --java-lib --artifact=build/lib/xbean_xpath.jar
debian/poms/qname.xml --java-lib --artifact=build/lib/xmlbeans-qname.jar
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans-qname</artifactId>
<version>2.6.0</version>
<name>XmlBeans</name>
<description>Jar that enables XmlBeans to run under JDK 1.4</description>
<url>http://xmlbeans.apache.org</url>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10436</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XmlBeans User List</name>
<subscribe>user-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>users-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
</mailingList>
<mailingList>
<name>XmlBeans Developer List</name>
<subscribe>dev-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
</mailingList>
<mailingList>
<name>Source Control List</name>
<subscribe>commits-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
<developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
<url>https://svn.apache.org/repos/asf/xmlbeans/</url>
</scm>
<organization>
<name>XmlBeans</name>
<url>http://xmlbeans.apache.org/</url>
</organization>
<developers>
<developer>
<name>Cezar Andrei</name>
<id>cezar</id>
<email>cezar.andrei@no#spam#!gma|l.com</email>
<organization></organization>
</developer>
<developer>
<name>Radu Preotiuc</name>
<id>radup</id>
<email>radupr@nos#pam.gm@il.com</email>
<organization></organization>
</developer>
<developer>
<name>Radu Preotiuc</name>
<id>radup</id>
<email>radu.preotiuc-pietro@nos#pam.bea.com</email>
<organization></organization>
</developer>
<developer>
<name>Wing Yew Poon</name>
<id>wpoon</id>
<email>wing-yew.poon@nos#pam.oracle.com</email>
<organization></organization>
</developer>
<developer>
<name>Jacob Danner</name>
<id>jdanner</id>
<email>jacob.danner@nos#pam.oracle.com</email>
<organization></organization>
</developer>
</developers>
<dependencies>
</dependencies>
</project>
......@@ -2,11 +2,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.6.0</version>
<version>3.0.2</version>
<name>XmlBeans</name>
<description>XmlBeans main jar</description>
<url>http://xmlbeans.apache.org</url>
<url>https://xmlbeans.apache.org/</url>
<issueManagement>
<system>jira</system>
......@@ -15,22 +15,16 @@
<mailingLists>
<mailingList>
<name>XmlBeans User List</name>
<subscribe>user-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>users-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-user/</archive>
<name>POI Users List</name>
<subscribe>user-subscribe@poi.apache.org</subscribe>
<unsubscribe>user-unsubscribe@poi.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/poi-user/</archive>
</mailingList>
<mailingList>
<name>XmlBeans Developer List</name>
<subscribe>dev-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-dev/</archive>
</mailingList>
<mailingList>
<name>Source Control List</name>
<subscribe>commits-subscribe@xmlbeans.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@xmlbeans.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/xmlbeans-commits/</archive>
<name>POI Developer List</name>
<subscribe>dev-subscribe@poi.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@poi.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/poi-dev/</archive>
</mailingList>
</mailingLists>
......@@ -44,13 +38,15 @@
<scm>
<connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
<developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
<developerConnection>
scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/
</developerConnection>
<url>https://svn.apache.org/repos/asf/xmlbeans/</url>
</scm>
<organization>
<name>XmlBeans</name>
<url>http://xmlbeans.apache.org/</url>
<url>https://xmlbeans.apache.org/</url>
</organization>
<developers>
......@@ -60,7 +56,6 @@
<email>cezar.andrei@no#spam#!gma|l.com</email>
<organization></organization>
</developer>
<developer>
<name>Radu Preotiuc</name>
<id>radup</id>
......@@ -85,7 +80,14 @@
<email>jacob.danner@nos#pam.oracle.com</email>
<organization></organization>
</developer>
<developer>
<name>POI Team</name>
<id>poi</id>
<email>user@poi.apache.org</email>
<organization>Apache POI</organization>
</developer>
</developers>
<dependencies/>
</project>
......@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans-xpath</artifactId>
<version>2.6.0</version>
<version>3.0.2</version>
<name>XmlBeansXPath</name>
<description>XmlBeans extended XPath and XQuery support</description>
......
......@@ -21,9 +21,8 @@ override_dh_install:
# Rename to fix filename conflict: See #578032
mv debian/xmlbeans/usr/bin/validate debian/xmlbeans/usr/bin/xsdvalidate
POM_VERSION := 2.6.0
POM_VERSION := 3.0.2
get-orig-pom:
wget -O debian/poms/xmlbeans.xml https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans/$(POM_VERSION)/xmlbeans-$(POM_VERSION).pom
wget -O debian/poms/qname.xml https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans-qname/$(POM_VERSION)/xmlbeans-qname-$(POM_VERSION).pom
wget -O debian/poms/xpath.xml https://repo1.maven.org/maven2/org/apache/xmlbeans/xmlbeans-xpath/$(POM_VERSION)/xmlbeans-xpath-$(POM_VERSION).pom
Some brief instructions for using the maven xmlbeans2 plugin
1. Include something like this in your maven.xml:
namespace declaration:
xmlns:xmlbeans="xmlbeans:maven"
<preGoal name="java:compile">
<xmlbeans:schema2java
sourcedir="${basedir}/src"
sourceschema="j2ee_1_4schema/application_1_4.xsd,j2ee_1_4schema/j2ee_jaxrpc_mapping_1_1.xsd,j2ee_1_3schema/connector_1_0.xsd"
xmlconfigs="${basedir}/src/conf/xmlconfig.xml"
targetdir="${basedir}/target/xmlbeans"
cataloglocation="${basedir}/src/catalog/resolver-catalog.xml"/>
</preGoal>
where
sourcedir is a base directory for the list in sourceschema
sourceschema is a comma-delimited list of all the schemas you want to compile
xmlconfigs points to your xmlconfig.xml file
targetdir is where you want generated java source to appear
cataloglocation is the location of an entity resolver catalog to use for resolving namespace to schema locations.
The generated binary files, both .xsd and the TypeHolder class, will end up in the target/classes directory.
In addition, you can add precompiled schemas to the "schema classpath" by including them as
dependencies in project.xml with a properties tag like this:
<dependency>
<groupId>geronimo</groupId>
<artifactId>geronimo-naming-builder</artifactId>
<version>${pom.currentVersion}</version>
<properties>
<xmlbeans>true</xmlbeans>
</properties>
</dependency>
You will probably also want to add a dependency on the plugin to your project.xml file and the other dependencies if you use xmlbeans in unit tests:
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<version>2.0-beta1</version>
<type>plugin</type>
</dependency>
<!-- needed for xmlbeans runtime-->
<dependency>
<groupId>xmlbeans</groupId>
<artifactId>xbean</artifactId>
<version>${xmlbeans_version}</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax</artifactId>
<version>${stax_version}</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<version>${stax_api_version}</version>
</dependency>