I suppose that would exlain it.  Essentially I'm serialising something
like <metadata>stuff</metadata> to a JDOM Document and returning it in
an object which does have a namespace, thus the document being written
as <metadata xmlns="">stuff</metadata>.

More research is required, clearly.

Thanks

-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: 22 November 2006 12:10
To: [email protected]
Subject: Re: [xfire-user] Empty namespaces with JDOM

How this document is build ? This is probably problem with the way
document is created, because if you don't specify any namespace on
element, jdom assume that it has no namespace at all ( namespaces aren't
inherited from parent ) so its mark it as xmlns="".

On 11/22/06, Richard Grantham <[EMAIL PROTECTED]> wrote:
> It just generates xmlns="".  This wasn't being generated before and 
> I've not given a namespace to anything.
>
> This is presenting an issue in that the result of the SOAP request is 
> transformed using XSLT.  The xmlns="" changes the name of the element,

> thus causing the XSLT to behave incorrectly.
>
>
>
>
> Richard Grantham
> Development
>
> -------------------------------
> [EMAIL PROTECTED]
> Limehouse Software Ltd
> DDI:
> Main: (020) 7566 3320
> Fax: (020) 7939 7105
> Limehouse Software Ltd
> 4th Floor
> 1 London Bridge
> London
> SE1 9BG
> Manchester Office:
> 3rd Floor, The Triangle, Exchange Square, Manchester M4 3TR
> Tel: (0161) 240 2440, Fax: (0161) 240 2441, ISDN: 08700 119 400 Check 
> out Limehouse Software's innovative solutions 
> www.limehousesoftware.co.uk - Transforming the way you publish 
> information The information contained in this e-mail or in any 
> attachments is confidential and is intended solely for the named 
> addressee only. Access to this e-mail by anyone else is unauthorised. 
> If you are not the intended recipient, please notify Limehouse 
> Software Ltd immediately by returning this e-mail to sender or calling

> 020 7566 3320 and do not read, use or disseminate the information. 
> Opinions expressed in this e-mail are those of the sender and not 
> necessarily the company. Although an active anti-virus policy is 
> operated, the company accepts no liability for any damage caused by 
> any virus transmitted by this e-mail, including any 
> attachments.-----Original Message-----
> From: Tomek Sztelak [mailto:[EMAIL PROTECTED]
> Sent: 22 November 2006 11:43
> To: [email protected]
> Subject: Re: [xfire-user] Empty namespaces with JDOM
>
> What do you mean by empty namespaces ? Did jdom miss some namespaces 
> or just generate xmlns="" ? And more  important question, does this 
> issue case any problems with client/server communications  ?
>
> On 11/22/06, Richard Grantham <[EMAIL PROTECTED]>
wrote:
> > I made a switch from Xerces to JDOM yesterday for WS-layer DOM 
> > document handling (we encountered an issue with Xerces where the 
> > serializer would bomb out permanently if you use it too much in a 
> > short space of time) but have encountered an issue where JDOM 
> > documents returned as a SOAP result contain empty namespaces.
> >
> > Any ideas as to causes/fixes?
> >
> > Cheers,
> >
> > Richard
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to