Community
Participate
Working Groups
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/root" xmlns="http://www.example.org/root" elementFormDefault="qualified"> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd" /> <xs:element name="root" type="root"/> <xs:complexType name="root"> <xs:attribute ref="xml:base"/> <xs:attribute ref="xml:lang"/> </xs:complexType> </xs:schema> When types are defined using the above schema, when the schema is generated the global attributes should generate as refs instead of being inlined.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink