ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: a comment about xml namespace
Date Mon, 22 Dec 2003 13:53:13 GMT
This is what I (think I) originally proposed, but did
not articulate it correctly.

http://marc.theaimsgroup.com/?l=ant-dev&m=105240500519029&w=2

Peter
Jim Fuller wrote:

>Consider the following;
>
><?xml version="1.0"?>
><project name="Demonstrate namespace options" default="demo">
>	<RDF:RDF xmlns:RDF="http://www.w3c.org/RDF/"
>xmlns:DC="http://purl.org/RDF/DC/">
>	<RDF:Description
>RDF:HREF="http://purl.org/metadata/dublin_core_elements" 
>		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:Format="text/html" 
>		DC:Type="Technical Report" 
>		DC:Language="en" 
>		DC:Date="12/22/2003"/>
>	</RDF:RDF>
>	
>	<description>intermixing of namespaces</description>
>	
>	<target name="demo" description="build entry point">
>		<echo message="successful build"/>
>	</target>
></project>
>
>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 processing...is 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.
>jim.fuller@ruminate.co.uk/http://www.ruminate.co.uk
>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: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message