{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6523","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6523/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6523/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6523/events","html_url":"https://github.com/hazelcast/hazelcast/issues/6523","id":112526838,"number":6523,"title":"Hazelcat 3.5 - InvalidConfigurationException: cvc-complex-type.2.4.a","user":{"login":"alexey-su","id":5216528,"avatar_url":"https://avatars.githubusercontent.com/u/5216528?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-su","html_url":"https://github.com/alexey-su","followers_url":"https://api.github.com/users/alexey-su/followers","following_url":"https://api.github.com/users/alexey-su/following{/other_user}","gists_url":"https://api.github.com/users/alexey-su/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-su/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-su/subscriptions","organizations_url":"https://api.github.com/users/alexey-su/orgs","repos_url":"https://api.github.com/users/alexey-su/repos","events_url":"https://api.github.com/users/alexey-su/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-su/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/PENDING","name":"PENDING","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T07:24:43Z","updated_at":"2015-10-21T11:12:55Z","closed_at":null,"body":"closes the issue: #5551\r\ncloses the issue: #5659\r\n\r\nCode without xml validation error\r\n```\r\nHazelcastClient.newHazelcastClient();\r\n```\r\nCode with xml validation error\r\n```\r\nHazelcast.newHazelcastInstance();\r\n```\r\n\r\nIf use *com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl* from *runtime* no validate error.\r\nIf use *org.apache.xerces.jaxp.validation.ValidatorImpl* from *xerces 2.11.0*, return validate error\r\n\r\n```\r\norg.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'group'. \r\nOne of '{\"http://www.hazelcast.com/schema/config\":import, \r\n\"http://www.hazelcast.com/schema/config\":group, \r\n\"http://www.hazelcast.com/schema/config\":license-key, \r\n\"http://www.hazelcast.com/schema/config\":management-center, \r\n\"http://www.hazelcast.com/schema/config\":properties, \r\n\"http://www.hazelcast.com/schema/config\":wan-replication, \"http://www.hazelcast.com/schema/config\":network,\r\n\"http://www.hazelcast.com/schema/config\":partition-group,\r\n\"http://www.hazelcast.com/schema/config\":executor-service,\r\n\"http://www.hazelcast.com/schema/config\":queue,\r\n\"http://www.hazelcast.com/schema/config\":map,\r\n\"http://www.hazelcast.com/schema/config\":multimap,\r\n\"http://www.hazelcast.com/schema/config\":replicatedmap,\r\n\"http://www.hazelcast.com/schema/config\":cache, \r\n\"http://www.hazelcast.com/schema/config\":list, \r\n\"http://www.hazelcast.com/schema/config\":set, \r\n\"http://www.hazelcast.com/schema/config\":topic, \r\n\"http://www.hazelcast.com/schema/config\":reliable-topic, \r\n\"http://www.hazelcast.com/schema/config\":jobtracker, \r\n\"http://www.hazelcast.com/schema/config\":semaphore, \r\n\"http://www.hazelcast.com/schema/config\":ringbuffer, \r\n\"http://www.hazelcast.com/schema/config\":listeners, \r\n\"http://www.hazelcast.com/schema/config\":serialization, \r\n\"http://www.hazelcast.com/schema/config\":native-memory, \r\n\"http://www.hazelcast.com/schema/config\":services, \r\n\"http://www.hazelcast.com/schema/config\":security, \r\n\"http://www.hazelcast.com/schema/config\":member-attributes, \r\n\"http://www.hazelcast.com/schema/config\":quorum}' is expected.\r\n```\r\n\r\nI propose to transfer the description of the item \"import\" \r\nfrom file \r\nhazelcast/hazelcast-client/src/main/resources/hazelcast-client-config-3.5.xsd\r\nto\r\nhazelcast/hazelcast/src/main/resources/hazelcast-config-3.5.xsd\r\n```\r\n<xs:element name=\"hazelcast\">\r\n  <xs:complexType>\r\n    <xs:choice minOccurs=\"1\" maxOccurs=\"unbounded\">\r\n      <xs:element ref=\"import\"/>\r\n```\r\nchange element \"import\" to\r\n```\r\n<xs:element ref=\"import\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\r\n```\r\nWe have to change 3 files:\r\nhazelcast-config-3.4.xsd\r\nhazelcast-config-3.5.xsd\r\nhazelcast-config-3.6.xsd"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/149858055","html_url":"https://github.com/hazelcast/hazelcast/issues/6523#issuecomment-149858055","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/6523","id":149858055,"user":{"login":"bilalyasar","id":7314547,"avatar_url":"https://avatars.githubusercontent.com/u/7314547?v=3","gravatar_id":"","url":"https://api.github.com/users/bilalyasar","html_url":"https://github.com/bilalyasar","followers_url":"https://api.github.com/users/bilalyasar/followers","following_url":"https://api.github.com/users/bilalyasar/following{/other_user}","gists_url":"https://api.github.com/users/bilalyasar/gists{/gist_id}","starred_url":"https://api.github.com/users/bilalyasar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilalyasar/subscriptions","organizations_url":"https://api.github.com/users/bilalyasar/orgs","repos_url":"https://api.github.com/users/bilalyasar/repos","events_url":"https://api.github.com/users/bilalyasar/events{/privacy}","received_events_url":"https://api.github.com/users/bilalyasar/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T11:12:55Z","updated_at":"2015-10-21T11:12:55Z","body":"Hi @alexey-su ,\r\nthanks for your concern and suggestion.\r\nActually we have solved this issue with this PR. https://github.com/hazelcast/hazelcast/pull/5659\r\n\r\nDoes issue still exist? or am i missing some points?"}}