unable to add property to JavaScript node object

View: New views
10 Messages — Rating Filter:   Alert me  

unable to add property to JavaScript node object

by zupftom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I asked the following question on the SVG-developers list, but I guess you guys can help me better:  Why is it impossible to add a property to a DOM node with Batik?  I have the following test SVG:


<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
  <script type="text/javascript">
    init = function(){
      testnode = document.getElementById("testnode")
      testnode.myProperty = "test"
      alert(testnode.myProperty)
    }
  </script>
  <rect id="testnode" width="100" height="100" x="150" y="150"/>
</svg>


It works perfectly in Firefox, Opera, IE+ASV and Safari, but Squiggle (Batik 1.8pre+r801641) gives me the following Java error message:

Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "myProperty". (Inline <script> file:/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#4)

Of course I can't dynamically add a property to a Java object, but this is JavaScript, so I guess I should be able to add my custom properties.  I initially thought this could be Rhino's fault, but I threw the exact same script into an HTML document and tested it with Lobo (AFAIK it uses Rhino as well).  This works as expected:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <script type="text/javascript">
      init = function(){
        testnode = document.getElementById("testnode")
        testnode.myProperty = "test"
        alert(testnode.myProperty)
      }
    </script>
  </head>
  <body onload="init()">
    <p id="testnode">testnode</p>
  </body>
</html>


Why aren't the Java DOM node objects properly wrapped as JavaScript objects?  Is this by purpose or just a missing feature?

By the way, java -version on Windows XP gives me the following:
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)

Any info is greatly appreciated
Thomas Weber
________________________________________________________________
DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
http://produkte.web.de/go/02/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Re: unable to add property to JavaScript node object

by Martin Jacobson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe the experts will come up with a better explanation, but this is
the expected behaviour: the SVG DTD doesn't define a myProperty
attribute for the rect element, so Batik (correctly) refuses to allow
you to set its value - however, you can declare new attributes for
most SVG elements (see the SVG specs for details). The fact that
Firefox et al don't barf, is probably that they don't validate the
SVG, merely test it for well-formedness.

HTH
Martin


2009/11/2  <x.zupftom@...>:

> Hi all,
>
> I asked the following question on the SVG-developers list, but I guess you guys can help me better:  Why is it impossible to add a property to a DOM node with Batik?  I have the following test SVG:
>
>
> <?xml version="1.0"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>
> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>  <script type="text/javascript">
>    init = function(){
>      testnode = document.getElementById("testnode")
>      testnode.myProperty = "test"
>      alert(testnode.myProperty)
>    }
>  </script>
>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
> </svg>
>
>
> It works perfectly in Firefox, Opera, IE+ASV and Safari, but Squiggle (Batik 1.8pre+r801641) gives me the following Java error message:
>
> Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "myProperty". (Inline <script> file:/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#4)
>
> Of course I can't dynamically add a property to a Java object, but this is JavaScript, so I guess I should be able to add my custom properties.  I initially thought this could be Rhino's fault, but I threw the exact same script into an HTML document and tested it with Lobo (AFAIK it uses Rhino as well).  This works as expected:
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>       "http://www.w3.org/TR/html4/loose.dtd">
> <html>
>  <head>
>    <script type="text/javascript">
>      init = function(){
>        testnode = document.getElementById("testnode")
>        testnode.myProperty = "test"
>        alert(testnode.myProperty)
>      }
>    </script>
>  </head>
>  <body onload="init()">
>    <p id="testnode">testnode</p>
>  </body>
> </html>
>
>
> Why aren't the Java DOM node objects properly wrapped as JavaScript objects?  Is this by purpose or just a missing feature?
>
> By the way, java -version on Windows XP gives me the following:
> java version "1.6.0_13"
> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
>
> Any info is greatly appreciated
> Thomas Weber
> ________________________________________________________________
> DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
> http://produkte.web.de/go/02/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>



--
From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Re: unable to add property to JavaScript node object

by Martin Jacobson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This works in Squiggle...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
          'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'
[
<!ATTLIST rect
  xmlns:my CDATA #FIXED "http://www.web.de/xzupftom"
  my:Property CDATA #IMPLIED >
]>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
 <script type="text/javascript">
   init = function() {
     testnode = document.getElementById("testnode")
     testnode.setAttributeNS("http://www.web.de/xzupftom",
"my:Property", "test");
   }
 </script>
 <rect id="testnode" width="100" height="100" x="150" y="150"/>
</svg>

Look at the DOM when this has loaded, and you'll see the my:Property
attribute set to the value "test"

HTH
Martin


2009/11/2 Martin Jacobson <jacobson.martin@...>:

> Maybe the experts will come up with a better explanation, but this is
> the expected behaviour: the SVG DTD doesn't define a myProperty
> attribute for the rect element, so Batik (correctly) refuses to allow
> you to set its value - however, you can declare new attributes for
> most SVG elements (see the SVG specs for details). The fact that
> Firefox et al don't barf, is probably that they don't validate the
> SVG, merely test it for well-formedness.
>
> HTH
> Martin
>
>
> 2009/11/2  <x.zupftom@...>:
>> Hi all,
>>
>> I asked the following question on the SVG-developers list, but I guess you guys can help me better:  Why is it impossible to add a property to a DOM node with Batik?  I have the following test SVG:
>>
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>>
>> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>>  <script type="text/javascript">
>>    init = function(){
>>      testnode = document.getElementById("testnode")
>>      testnode.myProperty = "test"
>>      alert(testnode.myProperty)
>>    }
>>  </script>
>>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
>> </svg>
>>
>>
>> It works perfectly in Firefox, Opera, IE+ASV and Safari, but Squiggle (Batik 1.8pre+r801641) gives me the following Java error message:
>>
>> Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "myProperty". (Inline <script> file:/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#4)
>>
>> Of course I can't dynamically add a property to a Java object, but this is JavaScript, so I guess I should be able to add my custom properties.  I initially thought this could be Rhino's fault, but I threw the exact same script into an HTML document and tested it with Lobo (AFAIK it uses Rhino as well).  This works as expected:
>>
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>       "http://www.w3.org/TR/html4/loose.dtd">
>> <html>
>>  <head>
>>    <script type="text/javascript">
>>      init = function(){
>>        testnode = document.getElementById("testnode")
>>        testnode.myProperty = "test"
>>        alert(testnode.myProperty)
>>      }
>>    </script>
>>  </head>
>>  <body onload="init()">
>>    <p id="testnode">testnode</p>
>>  </body>
>> </html>
>>
>>
>> Why aren't the Java DOM node objects properly wrapped as JavaScript objects?  Is this by purpose or just a missing feature?
>>
>> By the way, java -version on Windows XP gives me the following:
>> java version "1.6.0_13"
>> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
>> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
>>
>> Any info is greatly appreciated
>> Thomas Weber
>> ________________________________________________________________
>> DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
>> http://produkte.web.de/go/02/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@...
>> For additional commands, e-mail: batik-users-help@...
>>
>>
>
>
>
> --
> From my MacBook Pro
>



--
From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Parent Message unknown Re: unable to add property to JavaScript node object

by zupftom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Martin,

I appreciate your effort, but alas that's not what I meant.  This is not about attributes of an XML node but about JavaScript properties of a DOM node object.  In my understanding, XML attributes, which are accessed and set using the set/getAttributeNS() methods, are totally independent from the JavaScript properties, which are accessed and set using the dot notation and usual JavaScript assignment.

I'm not a JavaScript expert.  I learned that JavaScript objects can be dynamically extended and modified, and I am surprised Batik makes an exception for node objects.  Aren't node objects just usual objects?  At least typeof returns the type "object".

Thomas W.



> -----Ursprüngliche Nachricht-----
> Von: "Martin Jacobson" <jacobson.martin@...>
> Gesendet: 02.11.09 17:52:32
> An: batik-users@...
> Betreff: Re: unable to add property to JavaScript node object


> This works in Squiggle...
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
>           'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'
> [
> <!ATTLIST rect
>   xmlns:my CDATA #FIXED "http://www.web.de/xzupftom"
>   my:Property CDATA #IMPLIED >
> ]>
> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>  <script type="text/javascript">
>    init = function() {
>      testnode = document.getElementById("testnode")
>      testnode.setAttributeNS("http://www.web.de/xzupftom",
> "my:Property", "test");
>    }
>  </script>
>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
> </svg>
>
> Look at the DOM when this has loaded, and you'll see the my:Property
> attribute set to the value "test"
>
> HTH
> Martin
>
>
> 2009/11/2 Martin Jacobson <jacobson.martin@...>:
> > Maybe the experts will come up with a better explanation, but this is
> > the expected behaviour: the SVG DTD doesn't define a myProperty
> > attribute for the rect element, so Batik (correctly) refuses to allow
> > you to set its value - however, you can declare new attributes for
> > most SVG elements (see the SVG specs for details). The fact that
> > Firefox et al don't barf, is probably that they don't validate the
> > SVG, merely test it for well-formedness.
> >
> > HTH
> > Martin
> >
> >
> > 2009/11/2  <x.zupftom@...>:
> >> Hi all,
> >>
> >> I asked the following question on the SVG-developers list, but I guess you guys can help me better:  Why is it impossible to add a property to a DOM node with Batik?  I have the following test SVG:
> >>
> >>
> >> <?xml version="1.0"?>
> >> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> >>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> >>
> >> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
> >>  <script type="text/javascript">
> >>    init = function(){
> >>      testnode = document.getElementById("testnode")
> >>      testnode.myProperty = "test"
> >>      alert(testnode.myProperty)
> >>    }
> >>  </script>
> >>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
> >> </svg>
> >>
> >>
> >> It works perfectly in Firefox, Opera, IE+ASV and Safari, but Squiggle (Batik 1.8pre+r801641) gives me the following Java error message:
> >>
> >> Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "myProperty". (Inline <script> file:/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#4)
> >>
> >> Of course I can't dynamically add a property to a Java object, but this is JavaScript, so I guess I should be able to add my custom properties.  I initially thought this could be Rhino's fault, but I threw the exact same script into an HTML document and tested it with Lobo (AFAIK it uses Rhino as well).  This works as expected:
> >>
> >>
> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> >>       "http://www.w3.org/TR/html4/loose.dtd">
> >> <html>
> >>  <head>
> >>    <script type="text/javascript">
> >>      init = function(){
> >>        testnode = document.getElementById("testnode")
> >>        testnode.myProperty = "test"
> >>        alert(testnode.myProperty)
> >>      }
> >>    </script>
> >>  </head>
> >>  <body onload="init()">
> >>    <p id="testnode">testnode</p>
> >>  </body>
> >> </html>
> >>
> >>
> >> Why aren't the Java DOM node objects properly wrapped as JavaScript objects?  Is this by purpose or just a missing feature?
> >>
> >> By the way, java -version on Windows XP gives me the following:
> >> java version "1.6.0_13"
> >> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> >> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
> >>
> >> Any info is greatly appreciated
> >> Thomas Weber
> >> ________________________________________________________________
> >> DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
> >> http://produkte.web.de/go/02/
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: batik-users-unsubscribe@...
> >> For additional commands, e-mail: batik-users-help@...
> >>
> >>
> >
> >
> >
> > --
> > From my MacBook Pro
> >
>
>
>
> --
> From my MacBook Pro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Re: unable to add property to JavaScript node object

by Martin Jacobson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thomas,

I see what you mean, but the problem is, the properties of a DOM node
object ARE the attributes of the XML node! The DOM is merely an
in-memory representation of an XML document. Adding an arbitrary
Javascript property to a DOM node is the same thing as adding that
attribute to the XML node, so if that attribute isn't allowed by the
DTD, I guess Batik is - unfortunately for you! - correct to disallow
it.
As a practical alternative, can't you define an object that *contains*
the DOM node, plus any other properties you may wish to add?

Good luck, anyway!
Martin

2009/11/2  <x.zupftom@...>:

> Hi Martin,
>
> I appreciate your effort, but alas that's not what I meant.  This is not about attributes of an XML node but about JavaScript properties of a DOM node object.  In my understanding, XML attributes, which are accessed and set using the set/getAttributeNS() methods, are totally independent from the JavaScript properties, which are accessed and set using the dot notation and usual JavaScript assignment.
>
> I'm not a JavaScript expert.  I learned that JavaScript objects can be dynamically extended and modified, and I am surprised Batik makes an exception for node objects.  Aren't node objects just usual objects?  At least typeof returns the type "object".
>
> Thomas W.
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Martin Jacobson" <jacobson.martin@...>
>> Gesendet: 02.11.09 17:52:32
>> An: batik-users@...
>> Betreff: Re: unable to add property to JavaScript node object
>
>
>> This works in Squiggle...
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
>>           'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'
>> [
>> <!ATTLIST rect
>>   xmlns:my CDATA #FIXED "http://www.web.de/xzupftom"
>>   my:Property CDATA #IMPLIED >
>> ]>
>> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>>  <script type="text/javascript">
>>    init = function() {
>>      testnode = document.getElementById("testnode")
>>      testnode.setAttributeNS("http://www.web.de/xzupftom",
>> "my:Property", "test");
>>    }
>>  </script>
>>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
>> </svg>
>>
>> Look at the DOM when this has loaded, and you'll see the my:Property
>> attribute set to the value "test"
>>
>> HTH
>> Martin
>>
>>
>> 2009/11/2 Martin Jacobson <jacobson.martin@...>:
>> > Maybe the experts will come up with a better explanation, but this is
>> > the expected behaviour: the SVG DTD doesn't define a myProperty
>> > attribute for the rect element, so Batik (correctly) refuses to allow
>> > you to set its value - however, you can declare new attributes for
>> > most SVG elements (see the SVG specs for details). The fact that
>> > Firefox et al don't barf, is probably that they don't validate the
>> > SVG, merely test it for well-formedness.
>> >
>> > HTH
>> > Martin
>> >
>> >
>> > 2009/11/2  <x.zupftom@...>:
>> >> Hi all,
>> >>
>> >> I asked the following question on the SVG-developers list, but I guess you guys can help me better:  Why is it impossible to add a property to a DOM node with Batik?  I have the following test SVG:
>> >>
>> >>
>> >> <?xml version="1.0"?>
>> >> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>> >>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>> >>
>> >> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>> >>  <script type="text/javascript">
>> >>    init = function(){
>> >>      testnode = document.getElementById("testnode")
>> >>      testnode.myProperty = "test"
>> >>      alert(testnode.myProperty)
>> >>    }
>> >>  </script>
>> >>  <rect id="testnode" width="100" height="100" x="150" y="150"/>
>> >> </svg>
>> >>
>> >>
>> >> It works perfectly in Firefox, Opera, IE+ASV and Safari, but Squiggle (Batik 1.8pre+r801641) gives me the following Java error message:
>> >>
>> >> Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "myProperty". (Inline <script> file:/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#4)
>> >>
>> >> Of course I can't dynamically add a property to a Java object, but this is JavaScript, so I guess I should be able to add my custom properties.  I initially thought this could be Rhino's fault, but I threw the exact same script into an HTML document and tested it with Lobo (AFAIK it uses Rhino as well).  This works as expected:
>> >>
>> >>
>> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>> >>       "http://www.w3.org/TR/html4/loose.dtd">
>> >> <html>
>> >>  <head>
>> >>    <script type="text/javascript">
>> >>      init = function(){
>> >>        testnode = document.getElementById("testnode")
>> >>        testnode.myProperty = "test"
>> >>        alert(testnode.myProperty)
>> >>      }
>> >>    </script>
>> >>  </head>
>> >>  <body onload="init()">
>> >>    <p id="testnode">testnode</p>
>> >>  </body>
>> >> </html>
>> >>
>> >>
>> >> Why aren't the Java DOM node objects properly wrapped as JavaScript objects?  Is this by purpose or just a missing feature?
>> >>
>> >> By the way, java -version on Windows XP gives me the following:
>> >> java version "1.6.0_13"
>> >> Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
>> >> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)
>> >>
>> >> Any info is greatly appreciated
>> >> Thomas Weber
>> >> ________________________________________________________________
>> >> DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
>> >> http://produkte.web.de/go/02/
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: batik-users-unsubscribe@...
>> >> For additional commands, e-mail: batik-users-help@...
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > From my MacBook Pro
>> >
>>
>>
>>
>> --
>> From my MacBook Pro
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@...
>> For additional commands, e-mail: batik-users-help@...
>>
>>
>
>
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>



--
From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Parent Message unknown Re: unable to add property to JavaScript node object

by zupftom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Ursprüngliche Nachricht-----
> Von: "Martin Jacobson" <jacobson.martin@...>

> I see what you mean, but the problem is, the properties of a DOM node
> object ARE the attributes of the XML node!


Sorry, but I doubt that.  Take the following example:

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
  <script type="text/javascript">
    init = function(){
      testnode = document.getElementById("testnode")
      alert(testnode.fill)
      alert(testnode.getAttributeNS(null,"fill"))
      testnode.fill="red"
    }
  </script>
  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
</svg>


If you were right, then alert(testnode.fill) should say "black", but it doesn't.  Neither with Batik nor in any Browser I tested.  Likewise, testnode.fill="red" should change the rect's color to red, but it doesn't.  I get the familiar error message:

Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "fill". (Inline <script> file://localhost/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#6)

> Adding an arbitrary
> Javascript property to a DOM node is the same thing as adding that
> attribute to the XML node, so if that attribute isn't allowed by the
> DTD, I guess Batik is - unfortunately for you! - correct to disallow
> it.

According to the DTD, the fill attribute is allowed, but Batik still doesn't accept it.  On the other hand, Batik allows me to add an XML attribute to the rect node that, according to the DTD, isn't allowed:


<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
  <script type="text/javascript">
    init = function(){
      testnode = document.getElementById("testnode")
      testnode.setAttributeNS(null,"myAttribute","test")
      alert(testnode.getAttributeNS(null,"myAttribute"))
    }
  </script>
  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
</svg>


> As a practical alternative, can't you define an object that *contains*
> the DOM node, plus any other properties you may wish to add?
>

Certainly, I can work around this.  But I still would like to clarify whether this is a bug in Batik or on purpose.  Sorry if I'm becoming stubborn, but I really want to understand what's right and wrong in this context.

Thomas W.
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Re: unable to add property to JavaScript node object

by Martin Jacobson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thomas,

You're quite right to be stubborn! Unfortunately, I can no longer be
of much help: I use Batik, but I use the Java binding to the DOM, and
know much less about how the DOM interacts with JavaScript. I hope
someone with more experience of Javascript can help you.

mit freundlichen gruessen,
Martin

2009/11/3  <x.zupftom@...>:

>> -----Ursprüngliche Nachricht-----
>> Von: "Martin Jacobson" <jacobson.martin@...>
>
>> I see what you mean, but the problem is, the properties of a DOM node
>> object ARE the attributes of the XML node!
>
>
> Sorry, but I doubt that.  Take the following example:
>
> <?xml version="1.0"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>
> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>  <script type="text/javascript">
>    init = function(){
>      testnode = document.getElementById("testnode")
>      alert(testnode.fill)
>      alert(testnode.getAttributeNS(null,"fill"))
>      testnode.fill="red"
>    }
>  </script>
>  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> </svg>
>
>
> If you were right, then alert(testnode.fill) should say "black", but it doesn't.  Neither with Batik nor in any Browser I tested.  Likewise, testnode.fill="red" should change the rect's color to red, but it doesn't.  I get the familiar error message:
>
> Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "fill". (Inline <script> file://localhost/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#6)
>
>> Adding an arbitrary
>> Javascript property to a DOM node is the same thing as adding that
>> attribute to the XML node, so if that attribute isn't allowed by the
>> DTD, I guess Batik is - unfortunately for you! - correct to disallow
>> it.
>
> According to the DTD, the fill attribute is allowed, but Batik still doesn't accept it.  On the other hand, Batik allows me to add an XML attribute to the rect node that, according to the DTD, isn't allowed:
>
>
> <?xml version="1.0"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>
> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>  <script type="text/javascript">
>    init = function(){
>      testnode = document.getElementById("testnode")
>      testnode.setAttributeNS(null,"myAttribute","test")
>      alert(testnode.getAttributeNS(null,"myAttribute"))
>    }
>  </script>
>  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> </svg>
>
>
>> As a practical alternative, can't you define an object that *contains*
>> the DOM node, plus any other properties you may wish to add?
>>
>
> Certainly, I can work around this.  But I still would like to clarify whether this is a bug in Batik or on purpose.  Sorry if I'm becoming stubborn, but I really want to understand what's right and wrong in this context.
>
> Thomas W.
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>



--
From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Parent Message unknown Re: unable to add property to JavaScript node object

by zupftom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin,

thanks anyway for your effort, I appreciate that!  I hope I'll be able to start a project using Batik for SVG display and interaction.  That's one reason why I'm interested in what's going on here.

Vielen Dank!
Thomas


> -----Ursprüngliche Nachricht-----
> Von: "Martin Jacobson" <jacobson.martin@...>
> Gesendet: 03.11.09 08:05:36
> An: batik-users@...
> Betreff: Re: unable to add property to JavaScript node object


> Thomas,
>
> You're quite right to be stubborn! Unfortunately, I can no longer be
> of much help: I use Batik, but I use the Java binding to the DOM, and
> know much less about how the DOM interacts with JavaScript. I hope
> someone with more experience of Javascript can help you.
>
> mit freundlichen gruessen,
> Martin
>
> 2009/11/3  <x.zupftom@...>:
> >> -----Ursprüngliche Nachricht-----
> >> Von: "Martin Jacobson" <jacobson.martin@...>
> >
> >> I see what you mean, but the problem is, the properties of a DOM node
> >> object ARE the attributes of the XML node!
> >
> >
> > Sorry, but I doubt that.  Take the following example:
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> >
> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
> >  <script type="text/javascript">
> >    init = function(){
> >      testnode = document.getElementById("testnode")
> >      alert(testnode.fill)
> >      alert(testnode.getAttributeNS(null,"fill"))
> >      testnode.fill="red"
> >    }
> >  </script>
> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> > </svg>
> >
> >
> > If you were right, then alert(testnode.fill) should say "black", but it doesn't.  Neither with Batik nor in any Browser I tested.  Likewise, testnode.fill="red" should change the rect's color to red, but it doesn't.  I get the familiar error message:
> >
> > Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "fill". (Inline <script> file://localhost/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#6)
> >
> >> Adding an arbitrary
> >> Javascript property to a DOM node is the same thing as adding that
> >> attribute to the XML node, so if that attribute isn't allowed by the
> >> DTD, I guess Batik is - unfortunately for you! - correct to disallow
> >> it.
> >
> > According to the DTD, the fill attribute is allowed, but Batik still doesn't accept it.  On the other hand, Batik allows me to add an XML attribute to the rect node that, according to the DTD, isn't allowed:
> >
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> >
> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
> >  <script type="text/javascript">
> >    init = function(){
> >      testnode = document.getElementById("testnode")
> >      testnode.setAttributeNS(null,"myAttribute","test")
> >      alert(testnode.getAttributeNS(null,"myAttribute"))
> >    }
> >  </script>
> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> > </svg>
> >
> >
> >> As a practical alternative, can't you define an object that *contains*
> >> the DOM node, plus any other properties you may wish to add?
> >>
> >
> > Certainly, I can work around this.  But I still would like to clarify whether this is a bug in Batik or on purpose.  Sorry if I'm becoming stubborn, but I really want to understand what's right and wrong in this context.
> >
> > Thomas W.
> > ______________________________________________________
> > GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://movieflat.web.de
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@...
> > For additional commands, e-mail: batik-users-help@...
> >
> >
>
>
>
> --
> From my MacBook Pro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>


________________________________________________________________
DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
http://produkte.web.de/go/02/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Re: unable to add property to JavaScript node object

by Martin Jacobson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again!

I'm stubborn too, so I looked at the example you gave, and tweaked it
slightly, as below...

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
 <script type="text/javascript">
   init = function(){
     testnode = document.getElementById("testnode");
     alert(testnode.fill);
     alert(testnode.getAttribute("fill"));
     testnode.setAttribute("fill", "red");
   }
 </script>
 <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
</svg>

When run through both Squiggle and Firefox 3.5 I get the same
behaviour; there is no public fill property - you have to use
getAttribute(). So the first alert() gives "undefined", and the second
gives "black". Then, the rectangle turns red. It seems that the
properties of DOM nodes are private, and can only be accessed using
get/set methods.

Martin


2009/11/3  <x.zupftom@...>:

> Martin,
>
> thanks anyway for your effort, I appreciate that!  I hope I'll be able to start a project using Batik for SVG display and interaction.  That's one reason why I'm interested in what's going on here.
>
> Vielen Dank!
> Thomas
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Martin Jacobson" <jacobson.martin@...>
>> Gesendet: 03.11.09 08:05:36
>> An: batik-users@...
>> Betreff: Re: unable to add property to JavaScript node object
>
>
>> Thomas,
>>
>> You're quite right to be stubborn! Unfortunately, I can no longer be
>> of much help: I use Batik, but I use the Java binding to the DOM, and
>> know much less about how the DOM interacts with JavaScript. I hope
>> someone with more experience of Javascript can help you.
>>
>> mit freundlichen gruessen,
>> Martin
>>
>> 2009/11/3  <x.zupftom@...>:
>> >> -----Ursprüngliche Nachricht-----
>> >> Von: "Martin Jacobson" <jacobson.martin@...>
>> >
>> >> I see what you mean, but the problem is, the properties of a DOM node
>> >> object ARE the attributes of the XML node!
>> >
>> >
>> > Sorry, but I doubt that.  Take the following example:
>> >
>> > <?xml version="1.0"?>
>> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>> >
>> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>> >  <script type="text/javascript">
>> >    init = function(){
>> >      testnode = document.getElementById("testnode")
>> >      alert(testnode.fill)
>> >      alert(testnode.getAttributeNS(null,"fill"))
>> >      testnode.fill="red"
>> >    }
>> >  </script>
>> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
>> > </svg>
>> >
>> >
>> > If you were right, then alert(testnode.fill) should say "black", but it doesn't.  Neither with Batik nor in any Browser I tested.  Likewise, testnode.fill="red" should change the rect's color to red, but it doesn't.  I get the familiar error message:
>> >
>> > Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "fill". (Inline <script> file://localhost/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#6)
>> >
>> >> Adding an arbitrary
>> >> Javascript property to a DOM node is the same thing as adding that
>> >> attribute to the XML node, so if that attribute isn't allowed by the
>> >> DTD, I guess Batik is - unfortunately for you! - correct to disallow
>> >> it.
>> >
>> > According to the DTD, the fill attribute is allowed, but Batik still doesn't accept it.  On the other hand, Batik allows me to add an XML attribute to the rect node that, according to the DTD, isn't allowed:
>> >
>> >
>> > <?xml version="1.0"?>
>> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>> >
>> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>> >  <script type="text/javascript">
>> >    init = function(){
>> >      testnode = document.getElementById("testnode")
>> >      testnode.setAttributeNS(null,"myAttribute","test")
>> >      alert(testnode.getAttributeNS(null,"myAttribute"))
>> >    }
>> >  </script>
>> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
>> > </svg>
>> >
>> >
>> >> As a practical alternative, can't you define an object that *contains*
>> >> the DOM node, plus any other properties you may wish to add?
>> >>
>> >
>> > Certainly, I can work around this.  But I still would like to clarify whether this is a bug in Batik or on purpose.  Sorry if I'm becoming stubborn, but I really want to understand what's right and wrong in this context.
>> >
>> > Thomas W.
>> > ______________________________________________________
>> > GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
>> > Jetzt freischalten unter http://movieflat.web.de
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: batik-users-unsubscribe@...
>> > For additional commands, e-mail: batik-users-help@...
>> >
>> >
>>
>>
>>
>> --
>> From my MacBook Pro
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: batik-users-unsubscribe@...
>> For additional commands, e-mail: batik-users-help@...
>>
>>
>
>
> ________________________________________________________________
> DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
> http://produkte.web.de/go/02/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>



--
From my MacBook Pro

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...


Parent Message unknown Re: unable to add property to JavaScript node object

by zupftom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Martin,

it seems stubbornness can sometimes pay off.  I think I now understand more clearly what's going on:

http://tech.groups.yahoo.com/group/svg-developers/message/63004

Thanks for your effort

Thomas


> -----Ursprüngliche Nachricht-----
> Von: "Martin Jacobson" <jacobson.martin@...>
> Gesendet: 03.11.09 09:26:21
> An: batik-users@...
> Betreff: Re: unable to add property to JavaScript node object


> Hi again!
>
> I'm stubborn too, so I looked at the example you gave, and tweaked it
> slightly, as below...
>
> <?xml version="1.0"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
>  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
>
> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
>  <script type="text/javascript">
>    init = function(){
>      testnode = document.getElementById("testnode");
>      alert(testnode.fill);
>      alert(testnode.getAttribute("fill"));
>      testnode.setAttribute("fill", "red");
>    }
>  </script>
>  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> </svg>
>
> When run through both Squiggle and Firefox 3.5 I get the same
> behaviour; there is no public fill property - you have to use
> getAttribute(). So the first alert() gives "undefined", and the second
> gives "black". Then, the rectangle turns red. It seems that the
> properties of DOM nodes are private, and can only be accessed using
> get/set methods.
>
> Martin
>
>
> 2009/11/3  <x.zupftom@...>:
> > Martin,
> >
> > thanks anyway for your effort, I appreciate that!  I hope I'll be able to start a project using Batik for SVG display and interaction.  That's one reason why I'm interested in what's going on here.
> >
> > Vielen Dank!
> > Thomas
> >
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: "Martin Jacobson" <jacobson.martin@...>
> >> Gesendet: 03.11.09 08:05:36
> >> An: batik-users@...
> >> Betreff: Re: unable to add property to JavaScript node object
> >
> >
> >> Thomas,
> >>
> >> You're quite right to be stubborn! Unfortunately, I can no longer be
> >> of much help: I use Batik, but I use the Java binding to the DOM, and
> >> know much less about how the DOM interacts with JavaScript. I hope
> >> someone with more experience of Javascript can help you.
> >>
> >> mit freundlichen gruessen,
> >> Martin
> >>
> >> 2009/11/3  <x.zupftom@...>:
> >> >> -----Ursprüngliche Nachricht-----
> >> >> Von: "Martin Jacobson" <jacobson.martin@...>
> >> >
> >> >> I see what you mean, but the problem is, the properties of a DOM node
> >> >> object ARE the attributes of the XML node!
> >> >
> >> >
> >> > Sorry, but I doubt that.  Take the following example:
> >> >
> >> > <?xml version="1.0"?>
> >> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> >> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> >> >
> >> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
> >> >  <script type="text/javascript">
> >> >    init = function(){
> >> >      testnode = document.getElementById("testnode")
> >> >      alert(testnode.fill)
> >> >      alert(testnode.getAttributeNS(null,"fill"))
> >> >      testnode.fill="red"
> >> >    }
> >> >  </script>
> >> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> >> > </svg>
> >> >
> >> >
> >> > If you were right, then alert(testnode.fill) should say "black", but it doesn't.  Neither with Batik nor in any Browser I tested.  Likewise, testnode.fill="red" should change the rect's color to red, but it doesn't.  I get the familiar error message:
> >> >
> >> > Java class "org.apache.batik.dom.svg.SVGOMRectElement" has no public instance field or method named "fill". (Inline <script> file://localhost/E:/programmieren/svg/js/js_attribute_to_node_object_4.svg:6#6)
> >> >
> >> >> Adding an arbitrary
> >> >> Javascript property to a DOM node is the same thing as adding that
> >> >> attribute to the XML node, so if that attribute isn't allowed by the
> >> >> DTD, I guess Batik is - unfortunately for you! - correct to disallow
> >> >> it.
> >> >
> >> > According to the DTD, the fill attribute is allowed, but Batik still doesn't accept it.  On the other hand, Batik allows me to add an XML attribute to the rect node that, according to the DTD, isn't allowed:
> >> >
> >> >
> >> > <?xml version="1.0"?>
> >> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> >> >  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
> >> >
> >> > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" onload="init()">
> >> >  <script type="text/javascript">
> >> >    init = function(){
> >> >      testnode = document.getElementById("testnode")
> >> >      testnode.setAttributeNS(null,"myAttribute","test")
> >> >      alert(testnode.getAttributeNS(null,"myAttribute"))
> >> >    }
> >> >  </script>
> >> >  <rect id="testnode" fill="black" width="100" height="100" x="150" y="150"/>
> >> > </svg>
> >> >
> >> >
> >> >> As a practical alternative, can't you define an object that *contains*
> >> >> the DOM node, plus any other properties you may wish to add?
> >> >>
> >> >
> >> > Certainly, I can work around this.  But I still would like to clarify whether this is a bug in Batik or on purpose.  Sorry if I'm becoming stubborn, but I really want to understand what's right and wrong in this context.
> >> >
> >> > Thomas W.
> >> > ______________________________________________________
> >> > GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> >> > Jetzt freischalten unter http://movieflat.web.de
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: batik-users-unsubscribe@...
> >> > For additional commands, e-mail: batik-users-help@...
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> From my MacBook Pro
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: batik-users-unsubscribe@...
> >> For additional commands, e-mail: batik-users-help@...
> >>
> >>
> >
> >
> > ________________________________________________________________
> > DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
> > http://produkte.web.de/go/02/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: batik-users-unsubscribe@...
> > For additional commands, e-mail: batik-users-help@...
> >
> >
>
>
>
> --
> From my MacBook Pro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@...
> For additional commands, e-mail: batik-users-help@...
>
>


________________________________________________________________
DSL-Preisknaller: DSL-Komplettpakete schon für 16,99 Euro/mtl.!*
http://produkte.web.de/go/02/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...