IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

unload data adds 'xml:space="preserve"' in every e

  • 1.  unload data adds 'xml:space="preserve"' in every e

    Posted Tue June 26, 2007 12:08 PM

    hello all,

    (i don’t know if my question fits better here or in the Tamino Native XML Store & XQuery, so i’ll post it in the two forums. Sorry for the redundance)

    I am now working with the 4.4.1 version of tamino and testing its ability to handle xml documents that are encoded after the Text Encoding Initiative.
    The first step i ad to take was to define the schema. Mine has an import :

    that i had to turn into

    to be able to define it and then load data into Tamino without any error.

    My “problem” is now that when i unload my documents to check their integrity, i get this attribute
    xml:space=“preserve”
    written in every elements of my documents. I think it shouldn’t be to hard to write an xslt to correct this i really would like to know why such a thing happens and if there’s a tamino way to get rid of this.

    thanks in advance for any piece of advice,
    Thomas


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: unload data adds 'xml:space="preserve"' in every e

    Posted Fri June 29, 2007 02:45 PM

    I have just noticed that the imports i’m talking about are not displayed so i deleted the :

    import in the original schema
    xs:import namespace=“The "xml:" Namespace” schemaLocation=“xml.xsd”

    turned into the following when converted to tsd :
    xs:import namespace = “The "xml:" Namespace” schemaLocation = “…/ino:collection/xml_lang_space”
    /xs:import


    #API-Management
    #webMethods
    #Tamino