From: Adam R. <ad...@ex...> - 2010-02-02 10:20:47
|
Or you could call util:parse to convert your xs:string into a node() On 2 February 2010 01:00, Andrzej Jan Taramina <an...@ch...> wrote: > It used to be that if you did an: > > xmldb:store( $col, $doc, $content ) > > where $content was a string, but an XML string, store() would store the document as XML, not as a binary document. > > Now it seems that if you do such a store, even though the $content string is valid XML it now stores the document as a > binary document. > > Looks like Gev checked in a change on the 30th that broke the existing behaviour. > > I'm not convinced that the prior behaviour was a bug when you were passing in a string that was in fact XML. But I've > changed my code to pass in a mimetype parameter in our situation to resolve this. > > -- > Andrzej Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |