On 4/25/05, Henry Zongaro <[EMAIL PROTECTED]> wrote:
 > 
>      I don't understand it either, because I was not able to reproduce the
> problem.  You didn't show how your "object" element was created.  In my
> test program, I created an "object" element like this:
> 
>     document.getDocumentElement()
>             .appendChild(document.createElementNS(NAMESPACE,
>                                                   "object"));
> 
>      If your program creates an "object" element in the same way, could I
> ask you to open a bug report in Jira and attach a complete standalone test
> case (Java and any stylesheet) that demonstrates the problem?
 
Yes, I did not create it in the same way. Probably I did not
understand that for sub-elements I shoudl have used createElementNS in
stead of rather createElement. I finally figured that out myself
yesterday. I think I supposed that subelements are in the same
namespace as the parent elements, if unspeficifed, as it would be in
xml files. That evidentely is not the case then.

The confusing part is, is that this somehow gets 'corrected' when it
goes through a serialization to a File. I'm not fluent enough in XML
to be able to judge if that is ok.

Thanks a lot for replying and sorry for bothering...


Michiel


- 
mihxil'  http://mihxil.komputilo.org/
nl_NL eo_XX en_US

Reply via email to