You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/03/19 18:15:17 UTC
[Bug 1024] New - The parser does not raise an error if the encoding facet of the binary datatype has an invalid value
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1024
*** shadow/1024 Mon Mar 19 09:15:17 2001
--- shadow/1024.tmp.5535 Mon Mar 19 09:15:17 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | The parser does not raise an error if the encoding facet of the binary dat |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1024 Product: Xerces-J |
+ | Status: NEW Version: 1.3.0 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: |
+ | Priority: Medium Component: Schema-Datatypes |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-j-dev@xml.apache.org |
+ | Reported By: nddelima@ca.ibm.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The value of encoding must be one of {hex, base64}. However the parser does
+ not raise an error for the binary datatype if the encoding facet has a value
+ other than {hex, base64}. A section of code from a sample schema that does not
+ raise an error is as below:
+
+ <simpleType name="mybinary">
+ <restriction base="binary">
+ <encoding value="junk"/>
+ <pattern value="\d{2}-[a-z]"/>
+ </restriction>
+ </simpleType>
+
+ Reference:
+ IBM Schema invalid test ibmd3_2_8si02
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org