You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Mukul Gandhi (JIRA)" <xe...@xml.apache.org> on 2017/07/26 07:21:00 UTC

[jira] [Comment Edited] (XERCESJ-1680) incorrect flagging of violation of cos-all-limited

    [ https://issues.apache.org/jira/browse/XERCESJ-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083481#comment-16083481 ] 

Mukul Gandhi edited comment on XERCESJ-1680 at 7/26/17 7:20 AM:
----------------------------------------------------------------

I'd wish Sandy Gao, to give his opinion on this bug report.


was (Author: mukul_gandhi):
I'd like Sandy Gao, to give his opinion on this bug report.

> incorrect flagging of violation of cos-all-limited
> --------------------------------------------------
>
>                 Key: XERCESJ-1680
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1680
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.11.0
>         Environment: Windows 10 Pro
>            Reporter: Paul
>
> In the following schema document:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     elementFormDefault="unqualified">
>   <xs:complexType name="base_open_content">
>     <xs:openContent>
>       <xs:any notNamespace='##local' processContents='lax'/>
>     </xs:openContent>
>     <xs:all/>
>   </xs:complexType>
>   
>   <xs:element name="root">
>     <xs:complexType>
>       <xs:complexContent>
>         <xs:extension base="base_open_content">
>           <xs:all>
>             <xs:element name='child' type='xs:string'/>
>           </xs:all>
>         </xs:extension>
>       </xs:complexContent>
>     </xs:complexType>
>   </xs:element>
> </xs:schema>
> {noformat}
> Xerces incorrectly reports the all group in the extension of 'base_open_content' violates [cos-all-limited|https://www.w3.org/TR/xmlschema11-1/#sec-cos-all-limited].
> SaxonEE 9.7.0.15 correctly accepts this schema document.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org