An RNG and XML Namespace Puzzle

MURATA Makoto (FAMILY Given) eb2m-mrt at asahi-net.or.jp
Mon Aug 22 06:02:41 CEST 2011


> 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