Title: RE: Datatype Error for uriReference
I think there is bug in Xerces on how it handles uriReference.When I try to parse
cid:[EMAIL PROTECTED] it tells me malformed URI datatype error.
According to the RFC 2396 specification all vaild URL and URN are valid URI
According to RFC 2392 (Content-Id and Message-Id Uniform Resource Locators) URLS for content id and message id tkae the form

   The URLs take the form

     content-id    = url-addr-spec

     message-id    = url-addr-spec

     url-addr-spec = addr-spec  ; URL encoding of RFC 822 addr-spec

     cid-url       = "cid" ":" content-id

     mid-url       = "mid" ":" message-id [ "/" content-id
But the xerces parser does not recognize these as valid URI.
Is there a already logged bug for this or I am missing something.
Thanks for the help.
Tushar
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2001 5:28 PM
To: [EMAIL PROTECTED]
Subject: RE: Datatype Error for uriReference

In the rfc 2396 it says mailto:[EMAIL PROTECTED] is valid uri
But xerces bombs on this with the datatype error.
But if i use mailto://[EMAIL PROTECTED] it does not complain.
Can anybody tell me why?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: Datatype Error for uriReference



Hi there,

You might want to take a look at
"http://www.ietf.org/rfc/rfc2396.txt?number=2396".

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]



                                                                                                                    
                    [EMAIL PROTECTED]                                                                                
                    oyease.com             To:     [EMAIL PROTECTED]                                     
                                           cc:                                                                      
                    04/09/2001 01:18       Subject:     Datatype Error for uriReference                             
                    PM                                                                                              
                    Please respond                                                                                  
                    to xerces-j-user                                                                                
                                                                                                                    
                                                                                                                    







     I have a schema file which is of type uriReference.
     I am trying to put data cid:[EMAIL PROTECTED]
     and it gives me Datatype Error cid:[EMAIL PROTECTED] is
     malformed URI


     Any idea why?
     Also could any one tell me the vialid values of uriReference or any
     reference material.






--------------------------------------------------------------
Tushar Dave
Email: [EMAIL PROTECTED]
--------------------------------------------------------------








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

Reply via email to