OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Declaring element more than once in a DTD with namespace ?!?

[ Lists Home | Date Index | Thread Index ]
  • From: Dan Gunter <DKGunter@lbl.gov>
  • Date: Tue, 26 Oct 1999 13:40:23 -0700

Sebastien Sahuc wrote:
> Hello there,
> The XML spec says that elements with same name cannot be declared more
> than once in DTD. Fine, now, I believe Namespace can help me to
> proviude a workaround.


> The main point is the 'operations' element : affiliate can have the
> operations 'get'; 'set'; 'update'; etc... while merchant has it owns
> one (different from affiliate's list).

I am new to XML, but it seems to me that a mere "workaround" could be
done with more descriptive names, for example 'merchant-operations' and
'affiliate-operations'. They are, after all, different things, right?

The reason I'm bothering the list with this rather trivial response is
that I'm wondering if naming conventions are normal XML practice, or if
there is a better way, short of specifying external files like
namespaces seem to require.

[............. Dan Gunter - LBNL ....................]
[One Cyclotron Road, MS:50B-2239, Berkeley, CA 94720 ]
[(510)495-2504 / DKGunter@lbl.gov                    ]

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS