Altova Mailing List Archives

Re: XML Namspaces

From: David Carlisle <david-news@---------.-----.--.-->
Date: 5/4/2008 10:54:00 AM

Chase Preuninger wrote:
> What did I do wrong?
> <?xml version="1.0"?>
> <rfs:filesystem xmlns:rfs=""/>
the above is an empty element ending with /> so the XML file
ends there, and any following XML elements are in error.
presumably you wanted > there not />


> 	<rfs:root>
> 		<rfs:attr key="name" value="c:\"/>
> 		<rfs:folder>
> 			<rfs:attr key="name" value="Users"/>
> 			<rfs:file>
> 				<rfs:attr key="name" value="pic.jpg"/>
> 				<rfs:attr key="size" value="5675675"/>
> 				<rfs:attr key="lastmod" value="5359573579797693"/>
> 			</rfs:file>
> 			<rfs:folder>
> 				<rfs:attr key="name" value="Chase"/>
> 				<rfs:attr key="compressed" value="true"/>
> 				<rfs:file>
> 					<rfs:attr key="name" value="config.sys"/>
> 					<rfs:attr key="size" value="5678"/>
> 					<rfs:attr key="execute" value="false"/>
> 				</rfs:file>
> 			</rfs:folder>
> 		</rfs:folder>
> 	</rfs:root>
> </rfs:filesystem>



These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.