Thanks, I will have a look at it.

We're not really dealing with non-namespace-aware tools, but merely trying
to "simplify" the use of namespaces. The data that is persisted is also
returned to client applications on request. The level of sophistication of
XML processing of these clients is not always high. Also, internally, we
need to merge the incoming data with the existing data. Problems arise when
prefix names collide, which is often the case with the default namespace
binding. Of course, we can ensure that there is no prefix collision by
putting namespace declarations all over the place, but we're trying to avoid
this because it inflates the document size and it is not obvious if client
apps would be able to process it.

Alex

> -----Original Message-----
> From: Joseph Kesselman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 24, 2002 1:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: sorting out prefixes
>
>
> Best suggestion I can offer is to look at the sample algorithms for
> namespace normalization in the DOM Level 3 working draft, and adapt those
> for your needs, discarding declarations for namespaces already in scope
> and regenerating prefixes appropriately.
>
> Personal opinion: You're going the wrong direction. Rather than catering
> to broken, non-namespace-aware tools, fix those tools.
>
> ______________________________________
> Joe Kesselman  / IBM Research
>
> ---------------------------------------------------------------------
> 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]

Reply via email to