From: Dannes W. <di...@ex...> - 2010-02-02 11:05:20
|
Do we have junit tests to 'lock' the behaviour? no? gev? D. On Tue, Feb 2, 2010 at 11:20 AM, Adam Retter <ad...@ex...> wrote: > 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 > > > ------------------------------------------------------------------------------ > 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 > -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |