[jdom-interest] RE: jdom-interest digest, Vol 1 #693 - 5 msgs

Loka, Murlidhar Murlidhar.Loka at Bmo.com
Tue Aug 28 04:53:15 PDT 2001


When is the jdom final release for use in production planned?

thanks
bl

-----Original Message-----
From: jdom-interest-admin [mailto:jdom-interest-admin at jdom.org]
Sent: Tuesday, August 28, 2001 2:06 AM
To: jdom-interest
Subject: jdom-interest digest, Vol 1 #693 - 5 msgs


Send jdom-interest mailing list submissions to
	jdom-interest at jdom.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.denveronline.net/mailman/listinfo/jdom-interest
or, via email, send a message with subject or body 'help' to
	jdom-interest-request at jdom.org

You can reach the person managing the list at
	jdom-interest-admin at jdom.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jdom-interest digest..."


Today's Topics:

   1. RE: XML and XSL (Peter Barraud)
   2. JDOM & JTree (Ramin Assisi)
   3. On-Line and Off-Line DTD (Elite Garty)
   4. Build failed with latest cvs contents (Kesav Kumar)
   5. Re: Build failed with latest cvs contents (Jason Hunter)

--__--__--

Message: 1
From: "Peter Barraud" <peterb at interrait.com>
To: "Jdom" <jdom-interest at jdom.org>
Subject: RE: [jdom-interest] XML and XSL
Date: Mon, 27 Aug 2001 12:35:15 +0530

Hi,
I'm back again. what I had asked some time back was that I wanted to take an
xml and an xsl and return html to a browser. I got a lot of replies and have
just started working on the stuff. I got one reply form Ian that said to try
the jdom-b7/samples/XSLTransform.java so I did that. In fact, I took the
sample catalog.xml and catalog.xsl files that are in the samples folder and
tried to use them but I get this huge error message which starts with:
"java.lang.NoSuchMethodError
        at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java:386)"
anybody who has tried to use this example could maybe help me out here
pb

-----Original Message-----
From: tril at pluto.blackwell.co.uk [mailto:tril at pluto.blackwell.co.uk]On
Behalf Of Ian Lea
Sent: 20 August, 2001 2:19 PM
To: Peter Barraud
Cc: Jdom
Subject: Re: [jdom-interest] XML and XSL


Take a look at jdom-b7/samples/XSLTransform.java.  Send the result
out to the browser from a servlet using something along the lines of

  out.output(doc2, res.getWriter());


--
Ian.


Peter Barraud wrote:
>
> Hi,
> Is there a way to use an XML file with an XSL file and render the output
to
> a browser. Ok I know that sound weird but here is what I want to do:
> I have an XML file and an XSL file that contains parsing code to get HTML
> out of the XML. So what I want is that a servlet/JSP will return the
result
> as an output to the browser.
> I have done this in ASP and MSXML. There is a function (of the XML DOM)
> called Transform node that takes an XSL as an argument and return the
parsed
> result.
> I hope this is not too very confusing, and my apologies if I have used
some
> vague terms but any help would be really really appreciated
> PB


--__--__--

Message: 2
Date: Mon, 27 Aug 2001 10:42:56 +0200
From: Ramin  Assisi <ramin.assisi at cspb.com>
To: jdom-interest <jdom-interest at jdom.org>
Subject: [jdom-interest] JDOM & JTree


I have implemented the JDOM-Document as an JTree-Model. For this I had to
make some changements to Document and Element-Class:

1. Document is now an abstract class -> no instantiations takes place
2. Element is an abstract class -> no instantiations takes place
3. I had to change the name of the parent-Methode to ElementParent because
otherwise it results in a naming conflict with the parent of the
    TreeModel-Interfaces parent-Methode.

Another advantage is, that everybody can implement ist own Factory, because
of the abstract classes.

Who can help or is interested to introduce the changements to the public
version?


Ramin Assisi
Switzerland






--__--__--

Message: 3
From: Elite Garty <elite at targetize.com>
To: "'jdom-interest at jdom.org'" <jdom-interest at jdom.org>
Date: Mon, 27 Aug 2001 11:52:16 +0200
Subject: [jdom-interest] On-Line and Off-Line DTD

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C12EDD.F49D3C80
Content-Type: text/plain;
	charset="windows-1255"

Hi
I need to use an xml that works both online and offline, i.e. cannot have a
reference to a remote dtd, but still has to be able to get updates whenever
online. 
The main problem is, I do not want to download the xml and its dtd
separately.
For example, I found an xml with the dtd built-in:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE First [
<!ELEMENT First (headline)>
<!ELEMENT headline (#PCDATA)>
]>
<First>
<headline>
12324566
</headline>
</First>
This would be great, because every time I get an update of the xml I get the
dtd as well - however - I don't know how to generate it using JDom tools,
and don't know how to parse it to a document either.

Elite

------_=_NextPart_001_01C12EDD.F49D3C80
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1255">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>On-Line and Off-Line DTD</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I need to use an xml that works both =
online and offline, i.e. cannot have a reference to a remote dtd, but =
still has to be able to get updates whenever online. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The main problem is, I do not want to =
download the xml and its dtd separately.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">For example, I found an xml with the =
dtd built-in:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;?xml version=3D&quot;1.0&quot; =
encoding=3D&quot;utf-8&quot;?&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;!DOCTYPE First [</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;!ELEMENT First =
(headline)&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;!ELEMENT headline =
(#PCDATA)&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">]&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;First&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;headline&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">12324566</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/headline&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/First&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">This would be great, because every =
time I get an update of the xml I get the dtd as well - however - I =
don't know how to generate it using JDom tools, and don't know how to =
parse it to a document either.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Elite</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C12EDD.F49D3C80--

--__--__--

Message: 4
From: Kesav Kumar <kesavk at voquette.com>
To: "'jdom-interest at jdom.org'" <jdom-interest at jdom.org>
Date: Mon, 27 Aug 2001 18:51:11 -0700
Subject: [jdom-interest] Build failed with latest cvs contents

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C12F63.E9DBABC0
Content-Type: text/plain;
	charset="iso-8859-1"

I just checked out the total jdom from the cvs.  When I build the project I
got the following compilation error.

E:\jdom\build\src\org\jdom\Entity.java:157: Incompatible type for method.
Can't convert org.jdom.Entity to org.jdom.ProcessingInstruction.

p.removeContent(this);

I found there is no removeContent in Element.java with Entity as a
parameter.

Any ideas how to fix this.



Kesav Kumar Kolla
Voquette Inc
650 356 3740(W)
510 889 6840(R)
Voquette....Delivering Sound Information


------_=_NextPart_001_01C12F63.E9DBABC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Build failed with latest cvs contents</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I just checked out the total jdom from the cvs.&nbsp; =
When I build the project I got the following compilation error.</FONT>
</P>

<P><FONT SIZE=3D2>E:\jdom\build\src\org\jdom\Entity.java:157: =
Incompatible type for method. Can't convert org.jdom.Entity to =
org.jdom.ProcessingInstruction.</FONT></P>

<P><FONT SIZE=3D2>p.removeContent(this);</FONT>
</P>

<P><FONT SIZE=3D2>I found there is no removeContent in Element.java =
with Entity as a parameter.</FONT>
</P>

<P><FONT SIZE=3D2>Any ideas how to fix this.</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Kesav Kumar Kolla</FONT>
<BR><FONT SIZE=3D2>Voquette Inc</FONT>
<BR><FONT SIZE=3D2>650 356 3740(W)</FONT>
<BR><FONT SIZE=3D2>510 889 6840(R)</FONT>
<BR><FONT SIZE=3D2>Voquette....Delivering Sound Information</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C12F63.E9DBABC0--

--__--__--

Message: 5
Date: Mon, 27 Aug 2001 19:52:44 -0700
From: Jason Hunter <jhunter at apache.org>
To: Kesav Kumar <kesavk at voquette.com>
CC: "'jdom-interest at jdom.org'" <jdom-interest at jdom.org>
Subject: Re: [jdom-interest] Build failed with latest cvs contents

There is no Entity.java in the latest code from CVS.  Perhaps you
haven't done a clean build in a while?  Entity.java is now
EntityRef.java.

-jh-

> Kesav Kumar wrote:
> 
> I just checked out the total jdom from the cvs.  When I build the
> project I got the following compilation error.
> 
> E:\jdom\build\src\org\jdom\Entity.java:157: Incompatible type for
> method. Can't convert org.jdom.Entity to
> org.jdom.ProcessingInstruction.
> 
> p.removeContent(this);
> 
> I found there is no removeContent in Element.java with Entity as a
> parameter.
> 
> Any ideas how to fix this.
> 
> Kesav Kumar Kolla
> Voquette Inc
> 650 356 3740(W)
> 510 889 6840(R)
> Voquette....Delivering Sound Information


--__--__--

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com

End of jdom-interest Digest


This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the sender
immediately by return e-mail, delete this e-mail and destroy any copies. Any
dissemination or use of this information by a person other than the intended
recipient is unauthorized and may be illegal. Unless otherwise stated,
opinions expressed in this e-mail are those of the author and are not
endorsed by the author's employer.





More information about the jdom-interest mailing list