Hello all,
I apologize for my tone, I am extremely frustrated; I have wrested with this issue for many hours now.
Here’s my situation.
I have two schemas. Schema B imports schema A. After hours of frustration, and contrary to Tamino’s documentation! I have discovered that one simply cannot make schema A have a target namespace WITHOUT a prefix. Doing so let’s you define both schemas to the DB, however when you try to insert doc instances, you get the INOXDE7824 error.
Alright, so I define the target namespace prefix. Now my doctype has a prefix (very annoying). I tried therefore to give my complex top level element to which my doctype is linked also the prefix. No go, since it isn’t complient to NCName. Okay, so I leave it out. However, now I have to, for every document instance, use the prefix, and not only that, I have to declare the namespace with the prefix for each top level element (and attribute) as well. This is really really inconvenient.
Isn’t there a way aroudn this? Heck I thought (and seen a lot of examples on this NS) that in schema A, you simply declare target namespace without a prefix. In schema B, you declare the same namespace WITH a prefix, and the schemas will get linked. You can then use ref elements and attributes from the referenced schema (when you load the external schema) and the referenced items will have the prefix automatically. Once again, this all works when defining schemas, but you cannot put any doc instances into the DB (INOXDE7824).
So, what is one to do? I am very angry for the Tamino docs being wrong, for reading posts on this NS that are 2 years old (presumably from a member of the dev team) and hearing that in the next version of Tamino this (omiting target namespaces will be fixed) and we’re 2 years later and nothing has been fixed. Tech support of course doesn’t help you, they just forward the q to the dev team anyways.
(here’s that post: target namespace prefixes cannot be omitted
Any solution would be immensely appreciated, since I have scourged all the newsgroups and read all the docs, but I cannot find a good resolve to this problem.
Thank you.
#webMethods#API-Management#Tamino