Hi, I'm trying to generate objects from imported schemas (see snippet bellow), but in the generated code, all namespace prefixes are taken from elements in parent schema (ws:), not from imported schemas (e.g. geo:), so XML is exported not valid with not correct prefixes in some elements. I could hardcode namespace_ param of export method where needed, but is there a way to control it from outside?
regards Marek <schema targetNamespace="http://geomodel.eu/schema/ws/pvplanner" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="http://geomodel.eu/schema/common/types" xmlns:geo="http://geomodel.eu/schema/common/geo" xmlns:pv="http://geomodel.eu/schema/common/pv" xmlns:ws="http://geomodel.eu/schema/ws/pvplanner"> <import schemaLocation="common-types.xsd" namespace="http://geomodel.eu/schema/common/types"></import> <import schemaLocation="common-geo.xsd" namespace="http://geomodel.eu/schema/common/geo"></import> <import schemaLocation="common-pv.xsd" namespace="http://geomodel.eu/schema/common/pv"></import> ... ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users