logo       

Re: Instance parsing eating mixed content text in 0.9.2?: msg#00038

Subject: Re: Instance parsing eating mixed content text in 0.9.2?
Uli:

> thanks again for the excellent bug report. but i fear i can't help you
> by now ...

No problem.....

> the reason for this lies in the submission code. before submission all
> relevant nodes are selected. this selection simply cares for attributes
> and elements (and their simple content respectively), but not text nodes
> in mixed content. i played around with JXPath to include all text nodes
> successfully, but this leads to errors during document construction
> since JXPath does not allow to create mixed text nodes directly ...

I'm not clear on why relevant nodes need to be selected.  Can you explain 
what you mean by "relevant" in a bit more detail?

> when you can do without relevant processing, a workaround might be to
> simply leave it out during submission. to achieve this, edit the
> org.chiba.xml.xforms.Submission class as follows: in method submit()
> replace the line

I'll try the patch you suggest, but before I do, I would like to understand 
more about what the "relevant processing" actually does?

Thanks!

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe