[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace Identifiers - URI, URN, URL?

Subject: Re: Namespace Identifiers - URI, URN, URL?
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Wed, 29 Aug 2001 16:50:38 +0100
michael beddow
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------
----- Original Message -----
From: "Rafael 'Dido' Sevilla" <sevillar@xxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, August 29, 2001 1:33 PM
Subject: Re:  Namespace Identifiers - URI, URN, URL?


> On Wed, Aug 29, 2001 at 08:12:38AM -0400, Hewko, Doug wrote:
> > Thanks for the reply. This might be one of the great unsolved
mysteries, but
> > isn't it confusing since "'xmlns:xsl="http://www.w3.org/TR/WD-xsl"
does not
> > necessarily refer to a real URL? Just wondering why the W3 couldn't
use
> > something else that doesn't start with "http"..
> >
>
> Read the XML Namespaces Recommendation and James Clark's explanation
> of namespaces (see my other reply).  I agree, it has to be one of the
> most confusing documents the W3C has ever come up with.
>
> > Ohh...so I do not need the <?xml ... > declaration in the
stylesheets? Quick
> > side question; does having that cause any problems?
> >
>
> No.  Just be sure your document uses only UTF-8 characters if you
> don't put it, because that's the default character set defined by the
> XML Recommendation.  Any non-UTF-8 character sequences in your XML
> document (such as extended ASCII/ISO-8859-1 characters) will cause
> your XML document to become invalid, and hence unparseable by any
> conformant XML parser.  It's better to put the XML declaration in and
> explicitly state the character set you use, e.g.:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> or
>
> <?xml version="1.0" encoding="US-ASCII"?>
>
> or whatever.
>
> Answer to your second question: having the XML declaration will only
> cause problems if the character set you declared there does not match
> the character set your document is actually in.  Beware.
>
> --
> Rafael R. Sevilla <sevillar@xxxxxxxxxxxxxxxxx>   +63(2)   8177746 ext.
8311
> Programmer, InterdotNet Philippines              +63(917) 4458925
> http://dido.engr.internet.org.ph/                OpenPGP Key ID:
0x5CDA17D8
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.