This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about implements-prefix



> o does the value following XMLNS:USER have any actual meaning?  or could it
> just as easily type the following?

IT'S CONFUSING IF YOU USE CAPITALS AS XMLNS: is an error.

It's a namespace name, so like any namespace name it should have the
syntax of a URI reference, but it has no particular connection with any
resource that is identified by the URI, and most (all?) XSL engines
don't check for URI syntax and accept any string. Actually following a
slightly strange W3C annoncement that followed the namespace rec (by a
long time:-) it's best to use an absolute rather than a relative URI as
they decided that the behaviour for relative uri references was
explictly undefined ('cause they couldn't agree what its definition
should be, even though the namespace rec itself was quite clear that
namespace names should be compared as strings, some people argued that
they should first be made absoluet before being compared)

This is just the same as, for instance

xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

The XSLT namespace has name http://www.w3.org/1999/XSL/Transform
but it doesn't matter what resource, if any, is identified by that URI.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]