[
http://issues.apache.org/jira/browse/XERCESJ-1060?page=comments#action_62445 ]
elharo commented on XERCESJ-1060:
---------------------------------
RFC 3986 does seem to prohibit this URI. In 3986 we have:
reg-name = *( unreserved / pct-encoded / sub-delims )
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
In 3986 the colon is a general delimiter, not a sub delimiter.
I'm not sure what should be done here. Schemas Part 2 normatively references
2396, not 3986; so I suppose this should be allowed. On the other hand, I can't
help but think that this is really a bug in the definition of reg-names in
2396.
> 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]