[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Including multiple schemas - duplicate name errors
- From: "David E. Cleary" <davec@progress.com>
- To: Cheryl_Gielau@cargill.com, xml-dev@lists.xml.org
- Date: Tue, 21 Aug 2001 13:33:15 -0400
> I have a schema (A) that logically contains
> 2 other schemas (B & C). I used the
> include feature to bring B & C into the
> A schema. Some of the elements
> between the B & C schemas have the
> same name (and logically have the same
> definition) and the parser tells me that the
> element type has been defined more than
> once in the A schema.
>
> What are some ways I could resolve this?
Use local element declarations or use different namespaces and import them
instead. Without an example, it is hard to tell what the best approach is.
Dave