svn commit: r439265 - /webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java

2006-09-01 Thread jochen
Author: jochen
Date: Fri Sep  1 03:43:49 2006
New Revision: 439265

URL: http://svn.apache.org/viewvc?rev=439265view=rev
Log:
Removed invalid JavaDoc tags.

Modified:

webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java?rev=439265r1=439264r2=439265view=diff
==
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
 Fri Sep  1 03:43:49 2006
@@ -57,7 +57,6 @@
  * @param doc
  * @param uri
  * @param veh
- * @return
  */
 XmlSchema build(Document doc, String uri, ValidationEventHandler veh) {
 Element schemaEl = doc.getDocumentElement();
@@ -68,7 +67,6 @@
  * handles the schema element
  * @param schemaEl
  * @param uri
- * @return
  */
 XmlSchema handleXmlSchemaElement(Element schemaEl, String uri) {
 // get all the attributes along with the namespace declns
@@ -321,7 +319,6 @@
  * @param schema
  * @param simpleEl
  * @param schemaEl
- * @return
  */
 XmlSchemaSimpleType handleSimpleType(XmlSchema schema,
  Element simpleEl, Element schemaEl) {
@@ -571,7 +568,6 @@
  * @param schema
  * @param complexEl
  * @param schemaEl
- * @return
  */
 XmlSchemaComplexType handleComplexType(XmlSchema schema,
Element complexEl, Element 
schemaEl) {
@@ -1485,7 +1481,6 @@
  * @param el
  * @param schemaEl
  * @param isGlobal
- * @return
  */
 XmlSchemaElement handleElement(XmlSchema schema,
Element el,
@@ -1838,7 +1833,6 @@
  * @param schema
  * @param includeEl
  * @param schemaEl
- * @return
  */
 XmlSchemaInclude handleInclude(XmlSchema schema,
Element includeEl, Element schemaEl) {
@@ -1929,7 +1923,6 @@
  * create new XmlSchemaAppinfo and add value goten from element
  * to this obj
  * @param content
- * @return
  */
 XmlSchemaAppInfo handleAppInfo(Element content) {
 XmlSchemaAppInfo appInfo = new XmlSchemaAppInfo();
@@ -2039,7 +2032,6 @@
  * Resolve the schemas
  * @param targetNamespace
  * @param schemaLocation
- * @return
  */
 XmlSchema resolveXmlSchema(String targetNamespace,
String schemaLocation,
@@ -2068,7 +2060,6 @@
  * Resolve the schemas
  * @param targetNamespace
  * @param schemaLocation
- * @return
  */
 XmlSchema resolveXmlSchema(String targetNamespace,
String schemaLocation) {
@@ -2081,7 +2072,6 @@
  * Finds the namespace URI for a given prefix
  * @param prefix
  * @param schema
- * @return
  */
 private String findNamespaceForPrefix(String prefix,XmlSchema schema){
 String returnPrefix = (String)schema.namespaces.get(prefix);



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Resolved: (WSCOMMONS-7) Make an assembly descriptor which deploys XmlSchema sources automagically

2006-09-01 Thread Jochen Wiedmann (JIRA)
 [ http://issues.apache.org/jira/browse/WSCOMMONS-7?page=all ]

Jochen Wiedmann resolved WSCOMMONS-7.
-

Resolution: Fixed

Fixed in pom.xml.


 Make an assembly descriptor which deploys XmlSchema sources automagically
 -

 Key: WSCOMMONS-7
 URL: http://issues.apache.org/jira/browse/WSCOMMONS-7
 Project: WS-Commons
  Issue Type: Task
  Components: XmlSchema
Reporter: Dan Diephouse

 Make an assembly descriptor which deploys XmlSchema sources automagically

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (WSCOMMONS-78) Including a schema without namespace into a schema with namespace is not possible

2006-09-01 Thread Jochen Wiedmann (JIRA)
Including a schema without namespace into a schema with namespace is not 
possible
-

 Key: WSCOMMONS-78
 URL: http://issues.apache.org/jira/browse/WSCOMMONS-78
 Project: WS-Commons
  Issue Type: Bug
  Components: XmlSchema
Reporter: Jochen Wiedmann
 Attachments: XmlSchema-Include-Without-Namespace.patch

The XML Schema specification states in 4.2.1 Assembling a schema for a single 
target namespace from multiple schema definition documents:

  2 One of the following must be true:
  ...
  2.3 SII has no targetNamespace [attribute] (but SII' does).
  3 The appropriate case among the following must be true:
  ...
  3.2 If clause 2.3 above is satisfied, then the schema corresponding to the 
included item's parent schema must include not only definitions
  or declarations corresponding to the appropriate members of its own 
[children], but also components identical to all the - schema components-  of I,
  except that anywhere the - absent-  target namespace name would have 
appeared, the - actual value-  of the targetNamespace [attribute] of SII' is 
used.
  In particular, it replaces - absent-  in the following places:
  3.2.1 The {target namespace} of named schema components, both at the top 
level and (in the case of nested type definitions and nested attribute and
  element declarations whose code was qualified) nested within definitions;
  3.2.2 The {namespace constraint} of a wildcard, whether negated or not;

In other words, it is possible to include a schema without namespace, as if it 
had the namespace of the including schema.

Unfortunately this fails with XmlSchema, as the attached patch demonstrates. 
The patch includes a simple test case and could be applied, if this bug is 
fixed.

Suggested resolution, as realized in JaxMeXS: If such a schema is being parsed, 
then mutable instances of QName should be created, which would always
return the target namespace of the schema.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r439292 - in /webservices/commons/trunk/modules/XmlSchema/src: main/java/org/apache/ws/commons/schema/ main/java/org/apache/ws/commons/schema/resolver/ test/java/tests/w3c/

2006-09-01 Thread jochen
Author: jochen
Date: Fri Sep  1 05:39:28 2006
New Revision: 439292

URL: http://svn.apache.org/viewvc?rev=439292view=rev
Log:
More JavaDoc fixes.

Modified:

webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java

webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java

webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/URIResolver.java

webservices/commons/trunk/modules/XmlSchema/src/test/java/tests/w3c/TestW3CSchemaTestSet.java

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java?rev=439292r1=439291r2=439292view=diff
==
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/XmlSchemaCollection.java
 Fri Sep  1 05:39:28 2006
@@ -101,9 +101,9 @@
 }
 
 /**
- * This section should comply to the XMLSchema specification
- * @see 
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes.html#built-in-datatypes
- *
+ * This section should comply to the XMLSchema specification; see
+ * a 
href=http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes.html#built-in-datatypes;
+ *  
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/datatypes.html#built-in-datatypes/a.
  * This needs to be inspected by another pair of eyes
  */
 public void init() {
@@ -283,7 +283,6 @@
 /**
  * Retreive an XmlSchema from the collection by its system ID.
  * @param systemId
- * @return
  */
 public XmlSchema getXmlSchema(String systemId) {
 return (XmlSchema) systemId2Schemas.get(systemId);
@@ -291,7 +290,6 @@
 
 /**
  * Return a Set of all the XmlSchemas in this collection.
- * @return
  */
 public Set getXmlSchemas() {
 return Collections.unmodifiableSet(schemas);

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java?rev=439292r1=439291r2=439292view=diff
==
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/DefaultURIResolver.java
 Fri Sep  1 05:39:28 2006
@@ -38,7 +38,6 @@
  * schema and the schemaLocation is the value of the schema location
  * @param publicId
  * @param schemaLocation
- * @return
  * @throws SAXException
  * @throws IOException
  */
@@ -86,7 +85,6 @@
  *
  * @param contextURL
  * @param spec
- * @return
  * @throws java.io.IOException
  */
 protected URL getURL(URL contextURL, String spec) throws IOException {
@@ -127,7 +125,6 @@
  *
  * @param contextURL
  * @param path
- * @return
  * @throws IOException
  */
 protected URL getFileURL(URL contextURL, String path)

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/URIResolver.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/URIResolver.java?rev=439292r1=439291r2=439292view=diff
==
--- 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/URIResolver.java
 (original)
+++ 
webservices/commons/trunk/modules/XmlSchema/src/main/java/org/apache/ws/commons/schema/resolver/URIResolver.java
 Fri Sep  1 05:39:28 2006
@@ -24,7 +24,6 @@
  * @param targetNamespace
  * @param schemaLocation
  * @param baseUri
- * @return
  */
  InputSource resolveEntity(String targetNamespace,
  String schemaLocation,

Modified: 
webservices/commons/trunk/modules/XmlSchema/src/test/java/tests/w3c/TestW3CSchemaTestSet.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/XmlSchema/src/test/java/tests/w3c/TestW3CSchemaTestSet.java?rev=439292r1=439291r2=439292view=diff
==
--- 
webservices/commons/trunk/modules/XmlSchema/src/test/java/tests/w3c/TestW3CSchemaTestSet.java
 

Board Report for Sept 2006

2006-09-01 Thread Davanum Srinivas

Team,

It's time for updating the board about what we have been upto. Please
take a few minutes to update the wiki as usual. Yes, All committers
are welcome to add content. All PMC members, please make an effort as
it is part of your duty as PMC members.

http://wiki.apache.org/ws/ReportForSep2006

Thanks,
dims

--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tcpmon bug

2006-09-01 Thread Iulian Cutui
Hi all,

I've fixed a bug in the TcpMonitor, how can I submit it?

Thanks,

Iulian Cutui

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tcpmon bug

2006-09-01 Thread Ruchith Fernando

Hi,

please use JIRA :
https://issues.apache.org/jira/browse/WSCOMMONS

Thanks,
Ruchith

On 9/1/06, Iulian Cutui [EMAIL PROTECTED] wrote:

Hi all,

I've fixed a bug in the TcpMonitor, how can I submit it?

Thanks,

Iulian Cutui

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
www.ruchith.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (WSCOMMONS-80) ArrayIndexOutOfBoundsException when respinses exceed 8192 bytes in XML Formatting mode (tcpmon)

2006-09-01 Thread Iulian Cutui (JIRA)
ArrayIndexOutOfBoundsException when respinses exceed 8192 bytes in XML 
Formatting mode (tcpmon)
---

 Key: WSCOMMONS-80
 URL: http://issues.apache.org/jira/browse/WSCOMMONS-80
 Project: WS-Commons
  Issue Type: Bug
  Components: Utilities
 Environment: medium independent
Reporter: Iulian Cutui
Priority: Minor
 Attachments: SocketRR.patch

When XML formatting is selected, if the response exceeds 8192 bytes, the 
ArrayIndexOutOfBoundsException is triggered. This is due to a staticaly 
allocated byte array. Attached there's a SVN diff that fixes this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]