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-277) complexTypecmisProperty requires local attribute definition for C# class generation



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

Doug Domeny commented on CMIS-277:
----------------------------------

When generating C# classes from CMIS-RestAtom.xsd, errors occur. I suspect it may not follow xs:import.

Command:

"c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\xsd.exe" CMIS-RestAtom.xsd /classes /language:cs

Result:

Microsoft (R) Xml Schemas/DataTypes support utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Schema validation warning: Type 'http://docs.oasis-open.org/ns/cmis/core/200901:cmisRepositoryInfoType' is not declared. Line 35, position 3.
Schema validation warning: Type 'http://docs.oasis-open.org/ns/cmis/core/200901:enumCollectionType' is not declared, or is not a simple type. Line 31, position 3.
Schema validation warning: Type 'http://www.w3.org/2005/Atom:entryType' is not declared. Line 40, position 5.

Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.

Error: Error generating classes for schema 'CMIS-RestAtom'.
  - The datatype 'http://docs.oasis-open.org/ns/cmis/core/200901:cmisRepositoryInfoType' is missing.

If you would like more help, please type "xsd /?".



> complexType cmisProperty requires local attribute definition for C# class generation
> ------------------------------------------------------------------------------------
>
>                 Key: CMIS-277
>                 URL: http://tools.oasis-open.org/issues/browse/CMIS-277
>             Project: OASIS Content Management Interoperability Services (CMIS) TC
>          Issue Type: Bug
>          Components: Schema
>    Affects Versions: Draft 0.61
>         Environment: .NET
>            Reporter: Doug Domeny
>
> .NET could not generate a C# class from the CMIS-Core.xsd for cmisProperty because it referenced a global attribute.

-- 
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]