XMLWriter Class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

XMLWriter Class

Mohammad Al Houssami (Alumni)

I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream

                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again J

Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Stéphane Ducasse
<base href="x-msg://1951/">there are two packages

XMLParser
and 
XMLWriter 

in PharoExtras

Stef

I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream
                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again J

Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Mohammad Al Houssami (Alumni)
<base href="x-msg://1951/">

Yes I have them both and both packages don’t have an XMLWriter class J
Check the screen shots…

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

there are two packages

 

XMLParser

and 

XMLWriter 

 

in PharoExtras

 

Stef



I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream

                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again 
J

 

Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Juraj Kubelka-5
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Guillermo Polito
I was about to say the same thing :).

How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.

Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.

Guille


On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <[hidden email]> wrote:
I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.

Cheers,
Jura


El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <[hidden email]> escribió:

Yes I have them both and both packages don’t have an XMLWriter class J
Check the screen shots…
<image001.png>
<image002.png>
 
From: Pharo-users [mailto:[hidden email][hidden email]] On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class
 
there are two packages
 
XMLParser
and 
XMLWriter 
 
in PharoExtras
 
Stef


I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream
                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again 
J



Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Mohammad Al Houssami (Alumni)

I just downloaded all the require mcz files and dropped them into pharo.
I cant find the same versions you told me about Jura.

I tried to install XMLWriter but since I had one already I had some errors so I removed the whole package… I installed it and I got no errors… but I cant find it in my system browser anymore… What did I do wrong ?

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Guillermo Polito
Sent: Monday, August 05, 2013 1:27 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

I was about to say the same thing :).

 

How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.

 

Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.

 

Guille

 

On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <[hidden email]> wrote:

I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.

 

Cheers,

Jura

 

 

El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <[hidden email]> escribió:



Yes I have them both and both packages don’t have an XMLWriter class J
Check the screen shots…

<image001.png>

<image002.png>

 

From: Pharo-users [mailto:[hidden email][hidden email]On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

there are two packages

 

XMLParser

and 

XMLWriter 

 

in PharoExtras

 

Stef

 

I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream

                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again 
J

 

 

Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Mohammad Al Houssami (Alumni)

Oh I think I should run a command for things to work.I have used this before (Smalltalk at: #ConfigurationOfXMLWriter) perform: #loadDefault so I think I should do something similar now ?

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Mohammad Al Houssami (Alumni)
Sent: Monday, August 05, 2013 1:35 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

I just downloaded all the require mcz files and dropped them into pharo.
I cant find the same versions you told me about Jura.

I tried to install XMLWriter but since I had one already I had some errors so I removed the whole package… I installed it and I got no errors… but I cant find it in my system browser anymore… What did I do wrong ?

 

From: Pharo-users [[hidden email]] On Behalf Of Guillermo Polito
Sent: Monday, August 05, 2013 1:27 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

I was about to say the same thing :).

 

How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.

 

Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.

 

Guille

 

On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <[hidden email]> wrote:

I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.

 

Cheers,

Jura

 

 

El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <[hidden email]> escribió:




Yes I have them both and both packages don’t have an XMLWriter class J
Check the screen shots…

<image001.png>

<image002.png>

 

From: Pharo-users [mailto:[hidden email][hidden email]On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

there are two packages

 

XMLParser

and 

XMLWriter 

 

in PharoExtras

 

Stef

 

I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream

                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again 
J

 

 

Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Juraj Kubelka-5
In reply to this post by Mohammad Al Houssami (Alumni)
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: XMLWriter Class

Mohammad Al Houssami (Alumni)
<base href="x-msg://205/">

That works perfectly….
I have no idea what went wrong but its working now. Thank you Juraj, Guille and Stef

 

From: Pharo-users [mailto:[hidden email]] On Behalf Of Juraj Kubelka
Sent: Monday, August 05, 2013 1:49 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

It look like you have a different pharo image. I use the actual stable 2. If you install what is offered, it does not work? If it is not, I think the best way is to migrate your project into new image. 

 

Just try a new image in order to be sure it works for you. Then you can investigate the bug in your image. 

 

Cheers,

Jura

 

El 05-08-2013, a las 8:35, "Mohammad Al Houssami (Alumni)" <[hidden email]> escribió:



I just downloaded all the require mcz files and dropped them into pharo. 
I cant find the same versions you told me about Jura.

<image001.png>

I tried to install XMLWriter but since I had one already I had some errors so I removed the whole package… I installed it and I got no errors… but I cant find it in my system browser anymore… What did I do wrong ?

 

From: Pharo-users [mailto:pharo-[hidden email]] On Behalf Of Guillermo Polito
Sent: Monday, August 05, 2013 1:27 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

I was about to say the same thing :).

 

How did you install them? I'd recommend not to install the packages manually unless you are the package developer, since their dependencies are not explicit.

 

Usually, since both packages have their own version and evolve independently for our CVS (monticello), we use metacello to manage the projects configurations. So, I'd follow Juraj advice and have a look at the configuration browser.

 

Guille

 

On Mon, Aug 5, 2013 at 2:19 PM, Juraj Kubelka <[hidden email]> wrote:

I use both of them these days and I do not have problem. I have installed them from world menu -> Tools -> Configuration Browser (XMLParser-DamienCassou.143, XMLWriter-CamilloBruni.2). It looks like you have something different in your image (or corrupted). See attachment. Image of Pharo 2 downloaded from project page.

 

Cheers,

Jura

 

<image002.jpg>

 

El 05-08-2013, a las 8:10, "Mohammad Al Houssami (Alumni)" <[hidden email]> escribió:




Yes I have them both and both packages don’t have an XMLWriter class J
Check the screen shots…

<image001.png>

<image002.png>

 

From: Pharo-users [mailto:[hidden email][hidden email]On Behalf Of Stéphane Ducasse
Sent: Monday, August 05, 2013 12:54 PM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] XMLWriter Class

 

there are two packages

 

XMLParser

and 

XMLWriter 

 

in PharoExtras

 

Stef

 

I have asked about this earlier. I am using the XML library  and in XML-Parser-Nodes there is a method printOn
printOn: aStream

                (XMLWriter on: aStream) writeWith: [:writer | self writeXMLOn: writer].

Since I didn’t have XMLWriter I thought it would be inside the XML-Writer package but apparently it is not. Can I know what package has this class? Or if there is anyway to solve this problem?

Thanks again 
J