Author: heiko.braun(a)jboss.com
Date: 2007-07-06 05:32:59 -0400 (Fri, 06 Jul 2007)
New Revision: 3806
Added:
branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/xml-media-types.xsd
Modified:
branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/schema.xsd
Log:
resolve xmime schema locally. i think w3c blocks the requests and i dont want to touch the
dodgy SchemaUtils at current date
Modified: branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/schema.xsd
===================================================================
--- branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/schema.xsd 2007-07-05
20:32:45 UTC (rev 3805)
+++ branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/schema.xsd 2007-07-06
09:32:59 UTC (rev 3806)
@@ -3,7 +3,7 @@
xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
xmlns:tns="http://jboss.org/test/ws/xop/doclit">
- <s:import
schemaLocation="http://www.w3.org/2005/05/xmlmime"
namespace="http://www.w3.org/2005/05/xmlmime"/>
+ <s:import schemaLocation="xml-media-types.xsd"
namespace="http://www.w3.org/2005/05/xmlmime"/>
<s:element name="PingMsg">
<s:complexType>
Added:
branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/xml-media-types.xsd
===================================================================
--- branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/xml-media-types.xsd
(rev 0)
+++
branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/xml-media-types.xsd 2007-07-06
09:32:59 UTC (rev 3806)
@@ -0,0 +1,36 @@
+<!--
+ Describing Media Content of Binary Data in XML
+
http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504
+-->
+
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
+
targetNamespace="http://www.w3.org/2005/05/xmlmime">
+
+ <xs:attribute name="contentType">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:minLength value="3"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="expectedContentTypes" type="xs:string"/>
+
+ <xs:complexType name="base64Binary">
+ <xs:simpleContent>
+ <xs:extension base="xs:base64Binary">
+ <xs:attribute ref="xmime:contentType"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="hexBinary">
+ <xs:simpleContent>
+ <xs:extension base="xs:hexBinary">
+ <xs:attribute ref="xmime:contentType"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Property changes on:
branches/jbossws-2.0/jbossws-core/src/test/resources/jaxrpc/xop/xml-media-types.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF