Re: [discuss] sun xsd's and dtd's in specs source tree
I attached to https://issues.apache.org/jira/browse/GERONIMO-2630 a simple Java program that can remove any XML comments or xsd:annotation elements from a given XSD file. It might be useful to check the hand-typed files with the the cleaned up files (generated by this tool using the Sun's original files). Jarek On 12/9/06, Matt Hogstrom [EMAIL PROTECTED] wrote: Bugger...the 1.4 XSD is done...I'm wondering about how to verify the accuracy of these. I have been experimenting a bit while doing this. One thing I started doing was closing of xsd:elements. For instance: Where the original doc had something like: xsd:element name=res-type type=j2ee:fully-qualified-classType xsd:annotation xsd:documentation The res-type element specifies the type of the data source. The type is specified by the fully qualified Java language class or interface expected to be implemented by the data source. /xsd:documentation /xsd:annotation /xsd:element I entered: xsd:element name=res-type type=j2ee:fully-qualified-classType / Although syntactically the same its a bit harder to verify. I was thinking about writing a quick parser that would read the Sun XSDs and verify the content throwing out whitespace and documentation. Perhaps we can do something with XMLBeans? David, any thoughts? On Dec 9, 2006, at 2:39 AM, Matt Hogstrom wrote: Thoughts, please... FYI the files are listed below: web-app_2_4.xsd jsp_2_0.xsd web-jsptaglibrary_2_0.xsd jsp_2_1.xsd j2ee_1_4.xsd is done. I'll look at the 2_1 taglibrary next. I'll do the above tonight...I have the first two done but thought that I should give a heads up. web-jsptaglibrary_2_1.xsd j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd Are these really necessary? geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ javax/servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ javax/servlet/package.html --kevan Matt Hogstrom [EMAIL PROTECTED] Matt Hogstrom [EMAIL PROTECTED] Matt Hogstrom [EMAIL PROTECTED]
Re: [discuss] sun xsd's and dtd's in specs source tree
On Dec 11, 2006, at 3:44 PM, Jarek Gawor wrote: I attached to https://issues.apache.org/jira/browse/GERONIMO-2630 a simple Java program that can remove any XML comments or xsd:annotation elements from a given XSD file. It might be useful to check the hand-typed files with the the cleaned up files (generated by this tool using the Sun's original files). Nice. Thanks Jarek! I believe that Matt is working on web-jsptaglibrary_2_1.xsd. That leaves the following: j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd I'll be starting w/ j2ee_web_services_1_1.xsd, and work my way down the list. If anybody is interested in chipping in. Let me know... --kevan
Re: [discuss] sun xsd's and dtd's in specs source tree
I can take web-app_2_3 On Dec 11, 2006, at 4:08 PM, Kevan Miller wrote: On Dec 11, 2006, at 3:44 PM, Jarek Gawor wrote: I attached to https://issues.apache.org/jira/browse/GERONIMO-2630 a simple Java program that can remove any XML comments or xsd:annotation elements from a given XSD file. It might be useful to check the hand-typed files with the the cleaned up files (generated by this tool using the Sun's original files). Nice. Thanks Jarek! I believe that Matt is working on web-jsptaglibrary_2_1.xsd. That leaves the following: j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd I'll be starting w/ j2ee_web_services_1_1.xsd, and work my way down the list. If anybody is interested in chipping in. Let me know... --kevan -sachin
Re: [discuss] sun xsd's and dtd's in specs source tree
I've added... https://svn.apache.org/repos/asf/geronimo/sandbox/xsds/web-app_2_3.dtd On Dec 11, 2006, at 4:08 PM, Kevan Miller wrote: On Dec 11, 2006, at 3:44 PM, Jarek Gawor wrote: I attached to https://issues.apache.org/jira/browse/GERONIMO-2630 a simple Java program that can remove any XML comments or xsd:annotation elements from a given XSD file. It might be useful to check the hand-typed files with the the cleaned up files (generated by this tool using the Sun's original files). Nice. Thanks Jarek! I believe that Matt is working on web-jsptaglibrary_2_1.xsd. That leaves the following: j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd I'll be starting w/ j2ee_web_services_1_1.xsd, and work my way down the list. If anybody is interested in chipping in. Let me know... --kevan -sachin
Re: [discuss] sun xsd's and dtd's in specs source tree
On Dec 11, 2006, at 4:41 PM, Sachin Patel wrote: I've added... https://svn.apache.org/repos/asf/geronimo/sandbox/xsds/web-app_2_3.dtd Thanks Sachin. I'll get the others taken care of -- over half way done. I'll test/validate later tonight. Should be able to commit in specs tree later tonight --kevan
Re: [discuss] sun xsd's and dtd's in specs source tree
Bugger...the 1.4 XSD is done...I'm wondering about how to verify the accuracy of these. I have been experimenting a bit while doing this. One thing I started doing was closing of xsd:elements. For instance: Where the original doc had something like: xsd:element name=res-type type=j2ee:fully-qualified-classType xsd:annotation xsd:documentation The res-type element specifies the type of the data source. The type is specified by the fully qualified Java language class or interface expected to be implemented by the data source. /xsd:documentation /xsd:annotation /xsd:element I entered: xsd:element name=res-type type=j2ee:fully-qualified-classType / Although syntactically the same its a bit harder to verify. I was thinking about writing a quick parser that would read the Sun XSDs and verify the content throwing out whitespace and documentation. Perhaps we can do something with XMLBeans? David, any thoughts? On Dec 9, 2006, at 2:39 AM, Matt Hogstrom wrote: Thoughts, please... FYI the files are listed below: web-app_2_4.xsd jsp_2_0.xsd web-jsptaglibrary_2_0.xsd jsp_2_1.xsd j2ee_1_4.xsd is done. I'll look at the 2_1 taglibrary next. I'll do the above tonight...I have the first two done but thought that I should give a heads up. web-jsptaglibrary_2_1.xsd j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd Are these really necessary? geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ javax/servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/ javax/servlet/package.html --kevan Matt Hogstrom [EMAIL PROTECTED] Matt Hogstrom [EMAIL PROTECTED] Matt Hogstrom [EMAIL PROTECTED]
[discuss] sun xsd's and dtd's in specs source tree
As noted in GERONIMO-2630, our servlet and jsp specs include xsd's and dtd's which are copyrighted by Sun and contain the following restrictions: This document and the technology which it describes are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. We've been through this issue before with j2ee-schemas. We were able to resolve that issue by removing the xsd's from our source tree. Unfortunately, we don't have that option for specs. The spec jars must contain these xsd's and dtd's. IMO, we cannot keep these files in our source tree, nor distribute them in any binary releases. Tomcat has their own copy of these files in their source tree (it looks like we've copied a few of these files into our source tree, I think we got the others directly from sun). At least some of the Tomcat files have had an ASL license header added to them. I've asked [EMAIL PROTECTED] about the status of these files. I have not received any answer which gives me any confidence that we should be using their files, either. It seems that our only way to resolve this issue in a timely manner is to create our own version of these files. I think this is a royal PITA, but don't see any other solution. Thoughts, please... FYI the files are listed below: geronimo/specs/trunk/geronimo-jsp_2.0_spec/src/main/schema/jsp_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.0_spec/src/main/schema/web- jsptaglibrary_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/jsp_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/jsp_2_1.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/web- jsptaglibrary_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/web- jsptaglibrary_2_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_1_4.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_web_services_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_web_services_client_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/web- app_2_3.dtd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/web- app_2_4.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_1_4.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_web_services_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_web_services_client_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/web- app_2_3.dtd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/web- app_2_4.xsd --kevan
Re: [discuss] sun xsd's and dtd's in specs source tree
Have you checked if the server boots without these files? If not, we could could create dummy schemas with the names tomcat and jetty are looking for that simply allow all elements. -dain On Dec 8, 2006, at 2:57 PM, Kevan Miller wrote: As noted in GERONIMO-2630, our servlet and jsp specs include xsd's and dtd's which are copyrighted by Sun and contain the following restrictions: This document and the technology which it describes are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. We've been through this issue before with j2ee-schemas. We were able to resolve that issue by removing the xsd's from our source tree. Unfortunately, we don't have that option for specs. The spec jars must contain these xsd's and dtd's. IMO, we cannot keep these files in our source tree, nor distribute them in any binary releases. Tomcat has their own copy of these files in their source tree (it looks like we've copied a few of these files into our source tree, I think we got the others directly from sun). At least some of the Tomcat files have had an ASL license header added to them. I've asked [EMAIL PROTECTED] about the status of these files. I have not received any answer which gives me any confidence that we should be using their files, either. It seems that our only way to resolve this issue in a timely manner is to create our own version of these files. I think this is a royal PITA, but don't see any other solution. Thoughts, please... FYI the files are listed below: geronimo/specs/trunk/geronimo-jsp_2.0_spec/src/main/schema/jsp_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.0_spec/src/main/schema/web- jsptaglibrary_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/jsp_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/jsp_2_1.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/web- jsptaglibrary_2_0.xsd geronimo/specs/trunk/geronimo-jsp_2.1_spec/src/main/schema/web- jsptaglibrary_2_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_1_4.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_web_services_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/ j2ee_web_services_client_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/web- app_2_3.dtd geronimo/specs/trunk/geronimo-servlet_2.4_spec/src/main/schema/web- app_2_4.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_1_4.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_web_services_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/ j2ee_web_services_client_1_1.xsd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/web- app_2_3.dtd geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/schema/web- app_2_4.xsd --kevan
Re: [discuss] sun xsd's and dtd's in specs source tree
I'll help to get this done...getting permission or other options are going too take too long. I'll put them in sandbox/xsds and let you figure out what needs to be done from there Kevan. On Dec 8, 2006, at 5:57 PM, Kevan Miller wrote: Thoughts, please... FYI the files are listed below: web-app_2_4.xsd jsp_2_0.xsd web-jsptaglibrary_2_0.xsd jsp_2_1.xsd I'll do the above tonight...I have the first two done but thought that I should give a heads up. web-jsptaglibrary_2_1.xsd j2ee_1_4.xsd j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd Are these really necessary? geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/package.html --kevan Matt Hogstrom [EMAIL PROTECTED]
Re: [discuss] sun xsd's and dtd's in specs source tree
I've started the j2ee_1_4.xsd and will commit that one tomorrow. On Dec 9, 2006, at 12:51 AM, Matt Hogstrom wrote: I'll help to get this done...getting permission or other options are going too take too long. I'll put them in sandbox/xsds and let you figure out what needs to be done from there Kevan. On Dec 8, 2006, at 5:57 PM, Kevan Miller wrote: Thoughts, please... FYI the files are listed below: web-app_2_4.xsd jsp_2_0.xsd web-jsptaglibrary_2_0.xsd jsp_2_1.xsd I'll do the above tonight...I have the first two done but thought that I should give a heads up. web-jsptaglibrary_2_1.xsd j2ee_1_4.xsd j2ee_web_services_1_1.xsd j2ee_web_services_client_1_1.xsd web-app_2_3.dtd Are these really necessary? geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/http/package.html geronimo/specs/trunk/geronimo-servlet_2.5_spec/src/main/java/javax/ servlet/package.html --kevan Matt Hogstrom [EMAIL PROTECTED] Matt Hogstrom [EMAIL PROTECTED]