[ 
http://issues.apache.org/jira/browse/XERCESC-1442?page=comments#action_12313606 
] 

David Bertoni commented on XERCESC-1442:
----------------------------------------

The type for the "source" attribte of xs:documentation is anyURI, and none of 
the attribute values you show are valid URIs, so as far as I can see, Xerces-C 
is correctly reporting an error.  Perhaps XML Spy does not do extensive schema 
checking.  The schema recommendation says the following:

http://www.w3.org/TR/xmlschema-1/#Annotation_details

"{user information} is intended for human consumption, {application 
information} for automatic processing. In both cases, provision is made for an 
optional URI reference to supplement the local information, as the value of the 
source attribute of the respective element information items. - Validation-  
does not involve dereferencing these URIs, when present. In the case of {user 
information}, indication should be given as to the identity of the (human) 
language used in the contents, using the xml:lang attribute."

which makes it clear that the source attribute is a URI.

Did you mean for that text to be in the content of xs:documentation, rather 
than in the "source" attribute?  

> XSD validaton error from SCMPrint sample
> ----------------------------------------
>
>          Key: XERCESC-1442
>          URL: http://issues.apache.org/jira/browse/XERCESC-1442
>      Project: Xerces-C++
>         Type: Bug
>   Components: Samples/Tests, Validating Parser (Schema) (Xerces 1.5 or up 
> only)
>     Versions: 2.6.0
>  Environment: OS: Windows XP; SP : MSVC++ 6.0
>     Reporter: Anu Joseph

>
> When I tried to validate the XSD available at 
> http://eudravigilance.emea.eu.int/schema/XEVMPD.xsd using Xerces2.60 SCMPrint 
> Sample I'm getting paring errors like 
> Error at file C:\XEVMPD.xsd, line 409, char 91
>   Message: Value 'The type of the operation for this entity.' is NOT a valid 
> URI
> Error at file C:\XEVMPD.xsd, line 410, char 83
>   Message: Value ' 1 = Insert 2 = Update 4 = Nullify' is NOT a valid URI
> Error at file C:\XEVMPD.xsd, line 450, char 91
>   Message: Value 'The type of the operation for this entity.' is NOT a valid 
> URI
> ..................
> But the same file is validating finely in XML Spy. I'm not getting any clue 
> why this parser is happening from the specifed XSD. All error reported is in 
> 'xs:documentation source'; Seems to be a limitation

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to