  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | JDOM | Hi
We have a JSP based application using JDOM Beta 5 and another Java
application which uses JDOM Beta 7. We can get only one app working at a
time by pointing to that Jar file. When we use JDOMHi all
I am trying to understand how jdom handles character encodings. Here is
what I am doing
I have a java app which reads data from a xml file (UTF-8 encoded). I
am able to get text just Hi
do you have a specific reason for using DOMBuilder? Otherwise you 're
better of using SAXBuilder.
/pmn
-----Ursprungligt meddelande-----
Fr?n jdom-interest-admin@(protected) [mailto jdom-Hi
Actually the file (or input stream) is read sequentially
but as you say the entire document tree is built in memory
and this is usually much larger than the text represntation.
You caHi everyone
I am trying to parse a very large file (1.3 Gb) using JDOM. I have used JDOM
before with smaller files but never large ones. It seems like the builder
attempts to read the whole filHi
I am trying to use DOMBuilder to read an XML file to a DOM tree but it
gives me an error as shown below
org.jdom.JDOMException Error in building from stream Class
org.jdom.input.DOMBuHi
I am trying to use DOMBuilder to read an XML file to a DOM tree but it
gives me an error as shown below
org.jdom.JDOMException Error in building from stream Class
org.jdom.input.DOMBuHonestly I don 't know what happened yesterday... When I used the
SAXBuilder.build(URL) it did not work.
Today when I compile again my project all is fine.
I 'm sorry
Emmanuel
_______Sorry I made a big mistake in my previous mail.... I 'm sorry!
Hi all
I tested the solution provided by Bill Woodward but it doesn 't work and
I don 't know why.
I give a sample code and my xml file here after.
What is strange is that I can read the filI am using jbuilder 3.0 and have been recieving the following error
cannot access classs org.jdom.document class file has wrong version 46.0
Can I use the latest release of jdom with jbuildeHello
I 've been wondering if anyone knows about the possibility on using JDOM
on J2ME CDC Personal profile? Is there any chance?
Thanks a lot for your help
Sherine
On Wed Oct 08 2003 at 12 31 51PM +0200 Per Norrman wrote
> 1. An unsigned applet can only call back to the server
> from where it was loaded all other connections will
> be refused. InsteHi all
Here is my problem
When I try to parse an xml document using the
SaxBuilder.build(|java.io.File file) method there is no problem.
When I put the same file inside a jar file and trIt 's not about validation or not. The DTD is still read
even if validation is turned off for instance entities
may have to be resolved.
My first guess would be that the browser has a problem
I have an applet that reads XML from the server and builds a Document.
Essentially it does something like
Reader reader new InputStreamReader(new URL(url).openStream())
Document documentNote that in
SAXBuilder#build(String systemId)
systemid is a URI *not* the actual XML content. Instead use
builder.build(new StringReader(bf.toString()))
If you 're obtaining the conHi
While
SAXBuilder builder new SAXBuilder(false)
Document doc builder.build(bf.toString())
Where bf is a StringBuffer populated by readLine() from
BufferedWhat do you append '/ ' before loading the resource?
In principle http //www.cafeconleche.org is not the same
resource as http //www.cafeconleche.org/. It probably is for
the overwhelming majoriHmm
I thought it was the SAXParsers (or XMLReader) that resolved
the relative URI. If I supply an EntityResolver to either
crimson or xerces the system id is already resolved when
the callbackHi
what did you expect when you detached the root
element from the document?
You must either clone the element
inReport.getRootElement().getChild( "employee ").addContent
Hi
I 'm trying to merge two documents and then transform them into a result.
some code
public Document setReports(Document inReport Document rules)
throws Exception {
// Hi
I was looking at the TODO.txt file to see if I could
do anything to make is shorter.
* Rusty bug report "While testing this patch I noticed a significant and
likely unrelated bug in tHi JDOM
I don 't know if this is a bug or a setting I cannot find. I 'm running JDOM
b-9 on MacOSX.
>From a byte stream I receive a xml document with some accented characters
in it. For exampl
Hi
what JDOM version are you using and what is your
exact usage of getChildren? Does your XML input contain
namespaces?
There was a question on this topic about a month ago on list
getChil
Of course you can
<![CDATA[height of jack is > 6 feet]] >
In fact the only time ' > ' needs to be escaped is when
it is part of the string ']] > ' as in
a CDATA section is terminated with
Also what if the "illegal character " happens to be -
height of jack is > 6 feet
you cannot wrap this in CDATA
Peter )
jdom-interest-admin@(protected) wrote
> hi
> if i have a string which is a xml but contains invalid
> characters within the elements text how can i create a xml document
> out of it.
> If the s
This is a request for a sanity check
I 'm attempting to use the getChildren() method in the Element class. Upon
debugging I see that the Element is properly populated with correctly
pars |
|
 |