logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: XMLSerializer outputs unqualified attributes?: msg#00100

Subject: Re: XMLSerializer outputs unqualified attributes?
Emmanouil Batsis wrote:

When using org.apache.xml.serialize.XMLSerializer, attributes come out unqualified (no namespace prefix) when their parent element belongs to the same namespace. The parent element however, does come out qualified.

It works correctly if i specify the qname (before i was only providing NS URIs and local names, as with all events in my code). Is this how it should be done? I'd like to avoid providing qnames even in attributes. I should also add that:

* there is no parser in the mix, i just create events programmatically
* the prefix mapping events are created correctly by my code
* the XMLSerializer is configured with namespaces=true
* i use org.xml.sax.AttibutesImpl to create attributes


Thanks,

Manos

This is probably a config issue, hope someone can point out what i'm missing?

Thanks,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo