An RNG and XML Namespace Puzzle

Dennis E. Hamilton himself at orcmid.com
Mon Aug 22 06:45:42 CEST 2011


Thanks.  You have resolved all of my questions.

 - Dennis

-----Original Message-----
From: MURATA Makoto (FAMILY Given) [mailto:eb2m-mrt at asahi-net.or.jp] 
Sent: Sunday, August 21, 2011 21:03
To: dennis.hamilton at acm.org
Cc: 'SC34 WG1 Zip Study Group'; 'Alex Brown'
Subject: Re: An RNG and XML Namespace Puzzle

> How about
> 
> <grammar 
> 	xmlns="http://relaxng.org/ns/structure/1.0"
> 	datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
> 	xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
> 
> <!-- ... -->
> 
>   	<attribute name="manifest:version">
> 		<value>1.2</value>
> 	</attribute>
> 
> Is that the same as a qualified-only attribute?

This is equivalent to

	<attribute name="version" ns="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0">
		<value>1.2</value>
	</attribute>
Cheers,
Makoto



More information about the sc34wg1study mailing list