ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Fuller" <>
Subject a comment about xml namespace
Date Mon, 22 Dec 2003 13:35:04 GMT
Consider the following;

<?xml version="1.0"?>
<project name="Demonstrate namespace options" default="demo">
	<RDF:RDF xmlns:RDF=""
		DC:Title="namespace build" 	
		DC:Creator="Jim Fuller"
		DC:Subject="xml namespaces" 
		DC:Description="Contains Ant artifacts for building" 
		DC:Publisher="Webcomposite s.r.o." 
		DC:Type="Technical Report" 
	<description>intermixing of namespaces</description>
	<target name="demo" description="build entry point">
		<echo message="successful build"/>

XML Namespaces was initially created to avoid collision within documents
that have multiple xml vocabularies. 

Ant seems to assume by default that all namespaces have something to do
with build their any convention planned for having Ant
ignore specific namespace elements...or more usefully all namespaces
that have no Ant processing associated with it ?

For instance, the above example maybe generated by a sophisticated XML
editor that uses Dublin Core and RDF as a method of tracking versions of
the build.xml file. This is a simple use case, there are other more
important use cases involving xml db repositories.

Regards, Jim Fuller

----Jim Fuller Technical Architect  WebComposite s.r.o.
Co-Author ISBN 1861007213 Professional PHP4 XML
Co-Author ISBN 1861008074 Professional PHP Web Services
Technical Reviewer 'Beginning XSLT', 'Beginning Databases',
'XML Antipatterns' and various other xml / web service books

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message