OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (CMIS-268) Generic atom andatompub xsd



    [ http://tools.oasis-open.org/issues/browse/CMIS-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11758#action_11758 ] 

Doug Domeny commented on CMIS-268:
----------------------------------

Results of validating schemas with various parsers (using Stylus Studio 2008 Enterprise).

Saxonica 9.0.0.2
Xalan Java 2.6.0

The schema already contains an element declaration named {feed}
The schema already contains an element declaration named {entry}

MSXML4.0 DOM Parser
MSXML6.0 DOM Parser
.NET XML Parser

Validation complete with 0 error(s)

The Stylus Studio built-in validator reports additional errors with ATOM.xsd too.

Global element:'feed' declared more than once
Global element:'entry' declared more than once
Complex type 'undefinedContent' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type 'cmisFeedType' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type 'entryType' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type 'cmisEntryType' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type '__AnonC11' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type '__AnonC15' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type '__AnonC22' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type 'atomPersonConstruct' violates the Unique Particle Attribution rule in its components '##other' and '##any'
Complex type 'feedType' violates the Unique Particle Attribution rule in its components '##other' and '##any'


Note:
Changing
<xs:include schemaLocation="ATOM.xsd"/>
to
<xs:redefine schemaLocation="ATOM.xsd"/>
had no effect. According to Eric van der Vlist (XML Schema, O'Reilly, p. 289), xs:redefine may only be used for "simple and complex types and attribute and element groups". The ATOM4CMIS.xsd is redefining global elements "feed" and "entry".


> Generic atom and atompub xsd
> ----------------------------
>
>                 Key: CMIS-268
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-268
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: REST/AtomPub Binding
>    Affects Versions: Draft 0.50, Draft 0.60, Draft 0.61, Draft 0.62
>            Reporter: Al Brown
>
> Leverage the generic atom and atompub xsds.  Make sure they are non-normative

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]