Subject:Input namespace prefix problem Author:ad van der ende Date:15 Jun 2006 03:26 PM
Hi,
When an input xml has a namespace like xmlns:UML="version1.3" and the output xml must have a namespave like xmlns:UML="version1.4" the mapping and xpath assumes the namespace with version1.4 and not he namespave with version1.3. Resulting in no data is transfered from input to output.
Subject:Input namespace prefix problem Author:Minollo I. Date:15 Jun 2006 04:10 PM
The easiest thing would be generating an XML document using a different namespace prefix (which won't affect the validity of your output); otherwise you can make the 1.3 ns definition *very* local, like in:
Unfortunately mapper doesn't help you with these cases; you could workaround the problem changing all occurrences of "xmlns:UML" and "UML:" to "xmlns:UML14" and "UML14" in the target document.