Clarification on xsi:schemaLocation

Yesterday in the call I indicated that the @prefix pattern was one that 
was already in use in xsi:schemaLocation.  This is true, but the syntax 
pattern there is SLIGHTLY different than what we are looking at.

Our pattern for @prefix is ( NCName ':' \s+ xs:anyURI ) + - a prefix 
name followed by a literal colon and whitespace and then a URI

The schemaLocation pattern is (uriReference uriReference).  The first 
URI is the full URI of the namespace that is defined by the schema in 
the second URI.

So... it is not QUITE parallel to what we are doing.  And of course it 
shouldn't be.  After all, XML Schema uses XML Namespaces, so they 
already have a prefix -> URI mapping mechanism built in!

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Friday, 9 April 2010 22:15:37 UTC