ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Davis" <jsd2...@bellatlantic.net>
Subject RE: Reserved words of XML-Tags in AntBuildFiles
Date Thu, 08 Feb 2001 12:40:16 GMT
> -----Original Message-----
> From: Christoph Wilhelms [mailto:Christoph.Wilhelms@tui.de]
> Sent: Thursday, February 08, 2001 6:58 AM
>
> > There is no way to define a "context" in a DTD - an element "project"
> > is a "project" element and its attribute list is defined exactly once.
> > I'm not sure whether one can define a context-sensitive attribute list
> > in XSchema.

Yes, there is a 'way'... use namespaces, but AFAIK, ANT doesn't *really*
have a DTD.  I think XSchema allows this, though.

>
> I do not now much about DTDs :-(, but isn't there a context because tags
> are nested in other tags?

Not when it comes to DTDs... element definitions are scoped to the
namespace.


Mime
View raw message