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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2006/01/17 14:57:42 UTC
[jira] Updated: (XERCESC-1544) xsd:redefine recently broken
[ http://issues.apache.org/jira/browse/XERCESC-1544?page=all ]
Alberto Massari updated XERCESC-1544:
-------------------------------------
Attachment: redefine1.xsd
> xsd:redefine recently broken
> ----------------------------
>
> Key: XERCESC-1544
> URL: http://issues.apache.org/jira/browse/XERCESC-1544
> Project: Xerces-C++
> Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Versions: 2.7.0
> Environment: MacOS X, g++ build
> Reporter: Jerry Carter
> Attachments: redefine1.xsd, redefine2.xsd, redefine3.xml, redefine3.xsd
>
> The W3C schema for VoiceXML is quite complex and makes a good test of Xerces. Previous versions worked well, but 2.7.0 has some problems. In addition the regexp issues (bug 1512), xsd:redefine is also broken. This has worked in previous versions (up through 2.6.0, I believe).
> The main VXML schema <http://www.w3.org/TR/voicexml21/vxml.xsd> eventually includes <http://www.w3.org/TR/voicexml21/vxml-synthesis-extension.xsd>. There, on line 28 is the problem statement:
> <xsd:redefine schemaLocation="vxml-synthesis-restriction.xsd">
> This generates two classes of error messages.
> 1: Message: Could not find a declaration in the schema to be redefined corresponding to '...'
> 2: Message: Global complexType:'...' declared more than once or also declared as simpleType
> --------------------------------------
> To reproduce, run the following lines through SAX2Print:
> <?xml version="1.0" encoding="UTF-8"?>
> <vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.w3.org/2001/vxml
> http://www.w3.org/TR/voicexml21/vxml.xsd">
> <form>
> <block>
> <exit/>
> </block>
> </form>
> </vxml>
> xerces-c-src_2_7_0/bin: ./SAX2Print -v=always schema_issue.xml
> <?xml version="1.0" encoding="LATIN1"?>
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-restriction.xsd, line 30, char 53
> Message: Could not find a declaration in the schema to be redefined corresponding to 'say-as'
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-restriction.xsd, line 43, char 52
> Message: Could not find a declaration in the schema to be redefined corresponding to 'audio'
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-restriction.xsd, line 55, char 38
> Message: Could not find a declaration in the schema to be redefined corresponding to 'mark'
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-extension.xsd, line 30, char 53
> Message: Global complexType:'say-as' declared more than once or also declared as simpleType
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-extension.xsd, line 43, char 52
> Message: Global complexType:'audio' declared more than once or also declared as simpleType
> Error at file http://www.w3.org/TR/voicexml21/vxml-synthesis-extension.xsd, line 55, char 38
> Message: Global complexType:'mark' declared more than once or also declared as simpleType
> <vxml version="2.1" xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml21/vxml.xsd">
> <form scope="dialog">
> <block>
> <exit></exit>
> </block>
> </form>
--
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