diff --git a/lcm.xsd b/lcm.xsd new file mode 100644 index 0000000..cef09a7 --- /dev/null +++ b/lcm.xsd @@ -0,0 +1,145 @@ + + + + + + The schema for OASIS ebXML Registry Services + + + + + + + + The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader. + + + + + + + + + + + + + + The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object. Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader. + + + + + + + + + + + + + + + The ObjectRefList and AdhocQuery identify the list of + objects being approved. + + + + + + + + + + + + + + + + + The ObjectRefList and AdhocQuery identify the list of + objects being deprecated. + + + + + + + + + + + + + + + + + The ObjectRefList is the list of + refs to the registry entrys being un-deprecated. + + + + + + + + + + + + + + + + + The ObjectRefList is the list of + refs to the registry entrys being removed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsom-20110809.tar.gz b/xsom-20110809.tar.gz new file mode 100644 index 0000000..d75266c Binary files /dev/null and b/xsom-20110809.tar.gz differ diff --git a/xsom-20110809svn-pom.patch b/xsom-20110809svn-pom.patch new file mode 100644 index 0000000..47057cb --- /dev/null +++ b/xsom-20110809svn-pom.patch @@ -0,0 +1,38 @@ +diff -Naur xsom-20110809/pom.xml xsom-20110809-work/pom.xml +--- xsom-20110809/pom.xml 2011-08-09 09:26:44.000000000 -0400 ++++ xsom-20110809-work/pom.xml 2012-01-19 10:26:49.613983857 -0500 +@@ -49,11 +49,6 @@ + http://xsom.java.net/ + 20110809 + jar +- +- net.java +- jvnet-parent +- 1 +- + + + CDDL v1.1 / GPL v2 dual license +@@ -146,12 +141,6 @@ + generate-sources + + +- +- +- +- +- +- + + + +@@ -164,9 +153,6 @@ + + + +- +- +- + + + diff --git a/xsom.spec b/xsom.spec new file mode 100644 index 0000000..f692f0f --- /dev/null +++ b/xsom.spec @@ -0,0 +1,49 @@ +Name: xsom +Version: 0 +Release: 1 +Summary: XML Schema Object Model +License: GPLv2 +URL: https://javaee.github.io +Source0: https://github.com/kohsuke/xsom/archive/xsom-20110809.tar.gz +Source1: http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd +Patch0000: xsom-20110809svn-pom.patch + +BuildRequires: maven-local mvn(junit:junit) relaxngcc +BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +BuildRequires: mvn(relaxngDatatype:relaxngDatatype) + +BuildArch: noarch + +%description +This package is a Java library that allows applications to easily parse XML Schema documents +and inspect information in them. It is expected to be useful for applications that need to +take XML Schema as an input. + +%package help +Summary: Help documents for xsom +Provides: xsom-javadoc = %{version}-%{release} +Obsoletes: xsom-javadoc < %{version}-%{release} + +%description help +This package contains man pages and other related documents for xsom. + +%prep +%autosetup -n xsom-xsom-20110809 -p1 +sed -i 's|http://docs.oasis-open.org/regrep/v3.0/schema/lcm.xsd|file://%{SOURCE1}|' test/XSOMParserTest.java + +%build +%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 + +%install +%mvn_install + +%files -f .mfiles +%doc license.txt + +%files help -f .mfiles-javadoc +%doc license.txt + +%changelog +* Thu Jun 11 2020 leiju - 0-1 +- Package init diff --git a/xsom.yaml b/xsom.yaml new file mode 100644 index 0000000..b7a6e39 --- /dev/null +++ b/xsom.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: kohsuke/xsom +tag_prefix: "xsom-" +seperator: ""