non-absolute xml namespaces
Evert | Rooftop
evert at rooftopsolutions.nl
Wed Nov 5 08:35:00 EST 2008
On 5-Nov-08, at 4:37 AM, Joe Orton wrote:
> On Tue, Nov 04, 2008 at 05:45:47PM -0500, Evert | Rooftop wrote:
>> Expat throws an error on me on property test 26: propmanyns
>>
>> The error in question is: xmlns: URI kappa is not absolute
>>
>> Is this an error I should completely ignore, or is this something
>> that
>> should really be fixed within litmus?
>
> Yeah, that's a bug. I'll commit this patch to fix it:
>
> Index: src/props.c
> ===================================================================
> --- src/props.c (revision 1570)
> +++ src/props.c (working copy)
> @@ -562,8 +562,8 @@
> }
>
> static const char *manyns[10] = {
> - "alpha", "beta", "gamma", "delta", "epsilon",
> - "zeta", "eta", "theta", "iota", "kappa"
> + "alpha:", "beta:", "gamma:", "delta:", "epsilon:",
> + "zeta:", "eta:", "theta:", "iota:", "kappa:"
> };
>
> static int propmanyns(void)
>
Actually, even that will throw a warning. I'm doing a :
/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/xmlns\\1=\"urn:DAV\/
(i realize this regex is not perfect yet)
To avoid errors related to the DAV: namespace, best would be to use urn:alpha
, urn:beta, etc..
Evert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
Url : http://lists.manyfish.co.uk/pipermail/litmus/attachments/20081105/f6653c1e/attachment-0006.bin
More information about the litmus
mailing list