You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/09/11 19:29:23 UTC

[jira] Resolved: (WSCOMMONS-51) Facet classes missing toString method

     [ http://issues.apache.org/jira/browse/WSCOMMONS-51?page=all ]

Davanum Srinivas resolved WSCOMMONS-51.
---------------------------------------

    Resolution: Fixed

Applied. Please cross check.

-- dims


> Facet classes missing toString method
> -------------------------------------
>
>                 Key: WSCOMMONS-51
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-51
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>         Environment: Windows XP SP2
>            Reporter: Brent Ulbricht
>         Assigned To: Brent Ulbricht
>         Attachments: patch.txt
>
>
> When calling the toString(String, int) method on any of the facet classes, the output prints just the facet class name.
>                                                                               
>                                                                                   <xsd:simpleType>
> 					<xsd:restriction base ="{http://www.w3.org/2001/XMLSchema}string">
> 				                class org.apache.ws.commons.schema.XmlSchemaLengthFacet
> 					class org.apache.ws.commons.schema.XmlSchemaPatternFacet
> 					</xsd:restriction>
> 				</xsd:simpleType>
> The patch implements a toString(String, int) method for the facets so that the value of the facet can be seen when using toString(String, int).
> 				<xsd:simpleType>
> 					<xsd:restriction base ="{http://www.w3.org/2001/XMLSchema}string">
> 						<length value="5" fixed="false"/>
> 						<pattern value="\d{5}" fixed="false"/>
> 					</xsd:restriction>
> 				</xsd:simpleType>

-- 
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org