That's the URL for the xml prefix. Not sure how it started getting used for
the default namespace. The parser did, perhaps a little unconventionally,
assign a proprietary URL to the global namespace, if I remember correctly.
There wasn't one defined for it, and it didn't make any sense for it not to
map to something (since otherwise all code would have to special case for
it), so we mapped it to some internally used URL. Perhaps that was what this
was doing originally and somehow it got changed to another URL?
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com
"I'm not sure how I feel about ambivalence"
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 01, 2001 6:53 PM
Subject: Namespace problem in latest code
> I just pulled down the latest Xerces code and rebuilt it. Now, all
> elements without a prefix are being assigned the URI
> "http://www.w3.org/XML/1998/namespace"
>
> I just can't believe this is correct. I traced the problem to line 2726
of
> XMLScanner.cpp, where the URI is assumed to be the XML namespace URI
unless
> found.
>
> unsigned int uriId = fXMLNamespaceId;
>
> Can anyone comment on why this was done, and whether or not they think
it's
> a bug?
>
> Thanks,
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]