You are not logged in.
Announcement
Unanswered posts
|
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,
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
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
Hello
Please see the same question on topic:1531.
Best regards
shong
Hi there,
I want to generate the following xml with a tAdvancedFileOutXML:
<?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