  | 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 Geeks
I want to get line number of an element in the xml File.
I am using JDOM 's SAXBuilder to build the DOM .
When xml is not in proper format JDOMExecption thrown gives us the
line number Hello JDOMers
I 'm using Hibernate to get simple data objects out of a DB.
Is there an existing tool to turn such get/set objects into
JDOM Elements with the same structure?
That is somthing
I am building a JDOM tree from some HTML and it is barfing with an error
"Unconvertable UTF character ". The problem seems to be caused by the
soft-hyphen "shy " character ­ as well as the copSorry if this question has been asked already I can 't search the archives for some reason.
I just downloaded the latest binary 1.0 beta release and I am having
problems with building the document I think you could also wrap the sql statement with a CDATA section tag
<processed_sql >
<![CDATA[ *** sql with illegal chars here *** ]] >
</processed_sql >
-----Original Message-----
From SimoHi again
Have answered my own question Verifier.checkXML with a bit of
regexp 'ing
if (Verifier.checkXMLName(colName) "XML names cannot be null or empty "){
colName "col "+cCount
}
Hi All
I 'm new to the list so I appologise if this has already been
answered but after trawling Google for an hour I can 't find the info I
need. I 'm writing a class that takes the result of Please guys...
I am very new to JDOM and I am stuck in something
possibly very easy for you.
I am trying to start from the root element pick one
of its children and modify/create it pick one oHello guys...
I would like to ask if there is a way to create the
necessary nodes attributes etc given an XPath. That
is in the path string /cd/track[@(protected) "5 "]/title there
is not the node trac
Morten Andersen wrote
> So this means that there is an error in the mathml - or xhtml DTD?
Yes the problem appears to be in the XHTML part of this XHTML + MathML DTD.
The XHTML module causiI am new to JDOM and would appreciate all feedback
I would like to wrap my existing java classes and present them as a DOM document to Saxon as I would like to enable XQuery api.
Saxon already haHi
Our application is planning to support japanese characters. It is working
partially. If I create a JDOM SAX document out of a String it preserves
japanese chars fine. But when i create a JDOMIs someone interested in or just at this moment coding on a XSL Transformer
project which is based directly on JDOM? Or are there projects out there
which one could join?
Thoughts came to me th
This code worked fine with Beta 9 but under Beta 10 it throws an
exception calling javax.xml.transform.Transformer.transform()
JDOMSource jds new JDOMSource(dom)
jds.getXMAt 14 41 06-07-2004 Laurent Bihanic wrote
>Morten Andersen wrote
> >Well the task is pretty simple but I can 't get anything working.
> >I want to parse in an xhtml document containing mathml wI 've been searching through the mailing lists for info on adding Listeners
to monitor changes in documents etc.
So far i 've figureed out that these listeners dont exist and every
proposal/idea
Morten Andersen wrote
> Well the task is pretty simple but I can 't get anything working.
>
> I want to parse in an xhtml document containing mathml with all the
> entitities defined like alHi
I have got the following code
Document doc null
try {
doc builder.build(reader)
} catch(Exception ex) {
return "Error on making xml returned SAXable " + ex.getMessage()
}
Well the task is pretty simple but I can 't get anything working.
I want to parse in an xhtml document containing mathml with all the
entitities defined like alpha and beta. This should then be hello friends Thanks for ur previus replies . i am facing another problem .
if u all give it a reading and give me some sujjestion
i have an xml file like this
<queries >
<query id 11 >/person/studHi
two things
1) How do you convert the JDOM document to an XML string?
2) What is the actual Exception? 'Not valid ' means that the document
fails to comply with a DTD or schema. If there
We 're using 0.9 and we 're seeing some strangeness which is causing us
problems. We have a generic servlet that takes an xml request converts
it to a Document figures out the actual functioI have a xml document using UTF-8 encoding which
includes some characer using NCR format like
北 亰 .
then i read this file (with encoding UTF-8) and
generate the xml Java String (JavHello friends i am deeloping a semantic cache of xml queries and xml
documents
Here is a glimpse of my code in which i am creating an xml document with
following structure
- <queries >
<queryIs there a limitation on the size of the XML file to be processed?
I had my application hang on SAXBuild.build() function call on a XML file of 60MB. It worked after I reduced the file to 40MB.
<!Hello guys
I 've been using JDOM 2 years now and I am finishing
now my open source SMIL Presentation generator. I
would like to know what exactly has to be done
concerning the JDOM licence. I 've rHi
referring to our recent discussion of canonical XML output from
a JDOM tree I 've implemented a Canonicalizer for JDOM Documents.
It borrows code from the XMLOutputter and NamespaceStack. ECan somebody please help on this ?
- I have verified that JDOM.jar xerces.jar and xalan.jar are in the
classpath
- I have also verified that xerces.jar contains the
"org.apache.xerces.parsers.SHi
make sure you have the xerces jar in your classpath.
And are you sure the code worked in b7? The call to
SAXBuilder.build(String systemId) expects a URI not a
file name.
/pmn
PandiaI am getting this exception JDOM exception what is causing this ? This
worked fine in JDOM B7 but throws this in JDOM B9 Can you please help.
Here 's the code
 |
|
 |