commit
a6972654fa
145
lcm.xsd
Normal file
145
lcm.xsd
Normal file
@ -0,0 +1,145 @@
|
|||||||
|
<?xml version = "1.0" encoding = "UTF-8"?>
|
||||||
|
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/lcm.xsd,v 1.5 2005/01/31 22:28:18 farrukh_najmi Exp $ -->
|
||||||
|
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
|
||||||
|
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||||
|
xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
||||||
|
xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
|
||||||
|
xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
|
||||||
|
elementFormDefault="qualified"
|
||||||
|
attributeFormDefault="unqualified"
|
||||||
|
>
|
||||||
|
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The schema for OASIS ebXML Registry Services</documentation>
|
||||||
|
</annotation>
|
||||||
|
<!-- Import the rim.xsd file with XML schema mappaing from RIM -->
|
||||||
|
<import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
|
||||||
|
<!-- Import the rs.xsd file with XML schema for base rs related schema -->
|
||||||
|
<import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/>
|
||||||
|
<element name="SubmitObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">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.</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:RegistryObjectList"/>
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="UpdateObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">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.</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:RegistryObjectList"/>
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="ApproveObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The ObjectRefList and AdhocQuery identify the list of
|
||||||
|
objects being approved.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" />
|
||||||
|
<element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" />
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="DeprecateObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The ObjectRefList and AdhocQuery identify the list of
|
||||||
|
objects being deprecated.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" />
|
||||||
|
<element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" />
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="UndeprecateObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The ObjectRefList is the list of
|
||||||
|
refs to the registry entrys being un-deprecated.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" />
|
||||||
|
<element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" />
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="RemoveObjectsRequest">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The ObjectRefList is the list of
|
||||||
|
refs to the registry entrys being removed
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element ref="rim:AdhocQuery" minOccurs="0" maxOccurs="1" />
|
||||||
|
<element ref="rim:ObjectRefList" minOccurs="0" maxOccurs="1" />
|
||||||
|
</sequence>
|
||||||
|
<attribute name="deletionScope" default="urn:oasis:names:tc:ebxml-regrep:DeletionScopeType:DeleteAll" type="rim:referenceURI" use="optional"/>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="RelocateObjectsRequest">
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<sequence>
|
||||||
|
<element maxOccurs="1" minOccurs="1" ref="rim:AdhocQuery" />
|
||||||
|
<element maxOccurs="1" minOccurs="1" name="SourceRegistry" type="rim:ObjectRefType"/>
|
||||||
|
<element maxOccurs="1" minOccurs="1" name="DestinationRegistry" type="rim:ObjectRefType"/>
|
||||||
|
<element maxOccurs="1" minOccurs="1" name="OwnerAtSource" type="rim:ObjectRefType"/>
|
||||||
|
<element maxOccurs="1" minOccurs="1" name="OwnerAtDestination" type="rim:ObjectRefType"/>
|
||||||
|
</sequence>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
<element name="AcceptObjectsRequest">
|
||||||
|
<!-- The ObjectRefList must only contain local ObjectRefs such that they do not specify home attribute -->
|
||||||
|
<complexType>
|
||||||
|
<complexContent>
|
||||||
|
<extension base="rs:RegistryRequestType">
|
||||||
|
<attribute name="correlationId" type="anyURI" use="required"/>
|
||||||
|
</extension>
|
||||||
|
</complexContent>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
</schema>
|
||||||
BIN
xsom-20110809.tar.gz
Normal file
BIN
xsom-20110809.tar.gz
Normal file
Binary file not shown.
38
xsom-20110809svn-pom.patch
Normal file
38
xsom-20110809svn-pom.patch
Normal file
@ -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 @@
|
||||||
|
<url>http://xsom.java.net/</url>
|
||||||
|
<version>20110809</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
- <parent>
|
||||||
|
- <groupId>net.java</groupId>
|
||||||
|
- <artifactId>jvnet-parent</artifactId>
|
||||||
|
- <version>1</version>
|
||||||
|
- </parent>
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>CDDL v1.1 / GPL v2 dual license</name>
|
||||||
|
@@ -146,12 +141,6 @@
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
- <taskdef name="licence" classname="com.sun.tools.LicenceTask">
|
||||||
|
- <classpath>
|
||||||
|
- <pathelement path="lib/lic.jar" />
|
||||||
|
- </classpath>
|
||||||
|
- </taskdef>
|
||||||
|
-
|
||||||
|
<mkdir dir="build/automata" />
|
||||||
|
|
||||||
|
<!-- delete old files to avoid corruption -->
|
||||||
|
@@ -164,9 +153,6 @@
|
||||||
|
<arg path="build/src/com/sun/xml/xsom/impl/parser/state" />
|
||||||
|
<arg path="src/xmlschema.rng" />
|
||||||
|
</java>
|
||||||
|
- <licence licence="licenceheader.txt">
|
||||||
|
- <fileset dir="build/src/" includes="com/sun/xml/xsom/impl/parser/state/*.java" />
|
||||||
|
- </licence>
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
47
xsom.spec
Normal file
47
xsom.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
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 javadoc
|
||||||
|
Summary: Javadoc for xsom
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
This package contains javadoc 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 javadoc -f .mfiles-javadoc
|
||||||
|
%doc license.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 11 2020 leiju <leiju4@huawei.com> - 0-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user