Community
Participate
Working Groups
Build Identifier: 20100917-0705 I am trying to generate a new EMF project from an existing XSD. The project generation fails with error messages "The attribute may not have duplicate name and target namespace" The XSD that I am using is an example for XHTML modularization from here: http://www.w3.org/TR/xhtml-modularization/schema_developing.html <?xml version="1.0" encoding="UTF-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/1999/xhtml" xmlns:simpleml="http://www.example.com/xmlns/simpleml1" xmlns="http://www.w3.org/1999/xhtml" blockDefault="#all"> <xs:import namespace="http://www.example.com/xmlns/simpleml1" schemaLocation="http://www.w3.org/MarkUp/SCHEMA/examples/simpleml-module-1.xsd" /> <xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd"> <xs:group name="xhtml.Misc.class"> <xs:choice> <xs:group ref="xhtml.Misc.class" /> <xs:element ref="simpleml:element" /> </xs:choice> </xs:group> </xs:redefine> </xs:schema> Reproducible: Always Steps to Reproduce: 1. File/New/Project.../EMF Project 2. Select XML Schema / Browse Workspace.../ choose the XSD file 3. Finish
I've given up trying to make redefine work. *** This bug has been marked as a duplicate of bug 83055 ***