Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

mhirt
2009-05-12 01:39:50

OK, I see the problem.
For me it's a bug, you can report it on our bugtracker if you want.

As a temporary  solution, you can use the right click -> Impoort XML schema.

That should help you to resolve this issue.

Regards,

akatose
2009-05-11 21:38:57

Hi there,

maybe it is better to rephrase my question:

Has anyone an idea how to generate attributes of the "xml:"-namespace (e.g., "xml:lang" or "xml:space") with tAdvancedFileOutputXML?
See also: http://www.w3.org/XML/1998/namespace

Best regards,
Michael

akatose
2009-05-08 15:22:20

Hi Shong,

thank you for directing me to this other post. Jonathan filed his problem as issue #0002339, which was solved:
http://talendforge.org/bugs/view.php?id=2339

Unfortunately, this does not solve my problem. I do not want to create xmlns attributes manually. Instead I want to specify the namespace "xml" for an attribute or entity:

It is okay to disallow the attribute "xmllang". The attribute "xml:lang" is perfectly valid though. The string "xml" is part of the namespace not part of the attribute name. But TOS does not allow me to create this.

Best regards,
Michael

shong
2009-05-08 14:59:21

Hello

Please see the same question on topic:1531.

Best regards

         shong

akatose
2009-05-08 12:43:40

Hi there,

I want to generate the following xml with a tAdvancedFileOutXML:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<objects xmlns="http://www.example.com/xml/my_default_namespace">
  <object id="1234" xml:lang="de-DE">data</object>
</objects>

So I want to use a custom default namespace, but for some attributes I want to make explicit use of the "xml" namespace.

I tried to achieve this in TOS 3.0 and TOS 3.1, but I cannot enter a namespace that starts with xml. I always get the error message "Invalid string for XML Label. Label was not changed."

Best regards,
Michael

Board footer

Powered by FluxBB