You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Anu Joseph (JIRA)" <xe...@xml.apache.org> on 2005/06/14 16:21:57 UTC

[jira] Created: (XERCESC-1442) XSD validaton error from SCMPrint sample

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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1442) XSD validaton error from SCMPrint sample

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
    [ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1442) XSD validaton error from SCMPrint sample

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1442?page=all ]
     
David Bertoni closed XERCESC-1442:
----------------------------------


> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1442) XSD validaton error from SCMPrint sample

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1442?page=all ]
     
David Bertoni resolved XERCESC-1442:
------------------------------------

    Resolution: Invalid

> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1442) XSD validaton error from SCMPrint sample

Posted by "Jesse Pelton (JIRA)" <xe...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XERCESC-1442?page=comments#action_12313607 ] 

Jesse Pelton commented on XERCESC-1442:
---------------------------------------

Xerces is doing the right thing. According to the schema spec, the value of a source attribute must be a URI. (See http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#element-documentation.)
This is clearly not the case (or even the intent) in the affected schema.

This bug is invalid.

> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org