[
http://issues.apache.org/jira/browse/XERCESJ-1060?page=comments#action_62442 ]
Michael Glavassevich commented on XERCESJ-1060:
-----------------------------------------------
The value space for anyURI [1] is defined by RFC 2396 (and RFC 2732).
dcp.tcp.pft://192.168.0.1:1002:3002?fec=1&crc=0 is allowed by the grammar since
"192.168.0.1:1002:3002" matches reg_name. Registry-based Naming Authority
(reg_name) has been supported since Xerces 2.6.0.
authority = server | reg_name
reg_name = 1*( unreserved | escaped | "$" | "," |
";" | ":" | "@" | "&" | "=" | "+" )
unreserved = alphanum | mark
mark = "-" | "_" | "." | "!" | "~" | "*" | "'" |
"(" | ")"
If RFC 3986 prohibits this URI then it seems the new RFC is not backwards
compatible with RFC 2396.
[1] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#anyURI
> anyURI validation is too strict
> -------------------------------
>
> Key: XERCESJ-1060
> URL: http://issues.apache.org/jira/browse/XERCESJ-1060
> Project: Xerces2-J
> Type: Bug
> Components: XML Schema datatypes
> Versions: 2.5.0
> Environment: Stylus Studio 6.1, Windows XP
> Reporter: Julian Cable
>
> The following error message is generated:
> file:///d:/drm/code/mdigen/drmmdi.conf:10,80: Datatype error:
> Type:InvalidDatatypeValueException, Message:Value
> 'dcp.tcp.pft://192.168.0.1:1002:3002?fec=1&crc=0' is NOT a valid URI .
> but this is a valid URI according to RFC 2936 and RFC 3986. The example is
> from ETSI TS 102 821 Annex C.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]