[jdom-interest] Blank namespace query

Bradley S. Huffman hip at cs.okstate.edu
Wed Feb 25 11:41:04 PST 2004


Your undeclaring the default namespace with xmlns="" on SendRepair.
Remove it and all unprefixed elements underneath the root will be in
"http://fred.org" namespace.

Brad

WhittleA writes:

> Apologies if this is already on the archives - scanned but could not find a
> related topic....
> 
> I have managed to setup my namespaces on my root element fine.  However, on
> the second child element of the root element ( SendRepair ), it seems to
> want to add a blank name space.
> Why would it do that? Am I not setting something up?
> 
> Andy
> 
> 
> <SendToEscalationPartner xmlns="http://fred.org"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://fred.org .\schemaHere.xsd">
> <EscalationPartner>59</EscalationPartner>
> <SendRepair xmlns="">
> <RepairJobID>2596</RepairJobID>
> <BranchID>5</BranchID>
> <DatePhoneManufactured>2003-3-4</DatePhoneManufactured>
> <DatePhoneLoggedIn>2004-1-25</DatePhoneLoggedIn>
> </SendRepair>
> <SendToEscalationPartner>



More information about the jdom-interest mailing list