From: Jens Ø. P. <oe...@gm...> - 2011-03-17 10:44:09
|
Hi Joe, I don't know if this leads anywhere, but when I move my Mac eXist binary to Ubuntu and run it there, the problem is the same. I have also tried starting from scratch in Ubuntu. I check out trunk in Ubuntu 10.10 (Xubunu), format and indent an xml file inside "library," build, thereby also building library-1.0.xar with the formatted and indented file included, install the library app, export the file in question - and it is "flat" in Ubuntu as well. Does not look to me like it has anything to do with Mac OS. If I insert character references (I tried " ") following the Unix LF's in my document, the Admin Client output is indented correctly (if have only tried this in Mac OS). Doesn't this show that the problem has something to do with the serialisation made upon export? The question is not simply one of whitespace normalisation, since all whitespace between tags is stripped. I have tried with LF, CRLF and CR - it's all the same. I hope you can help - if with nothing else than you have the same problem! Best, Jens On Mar 16, 2011, at 12:26 PM, Joe Wicentowski wrote: > Hi Jens, > > Looks like this app is really making nice progress! But it also seems > like you're still having difficulties getting *indented* XML out of > eXist. Perhaps we can help provide some suggestions? Could you > describe how you're doing this currently? > > Joe > > >> -<collection xmlns="http://exist-db.org/collection-config/1.0"> >> - <index> >> - <fulltext default="none" attributes="no"/> >> - <lucene/> >> - <create qname="value" type="xs:string"/> >> - <create qname="label" type="xs:string"/> >> - <create qname="valueTwo" type="xs:string"/> >> - <create qname="valueTerm" type="xs:string"/> >> - <create qname="classifier" type="xs:string"/> >> - <create qname="scriptClassifier" type="xs:string"/> >> - <create qname="frequencyClassifier" type="xs:string"/> >> - <create qname="nameOrder" type="xs:string"/> >> - </index> >> -</collection> >> \ No newline at end of file >> +<collection xmlns="http://exist-db.org/collection-config/1.0"><index><fulltext default="none" attributes="no"/><lucene/><create qname="value" type="xs:string"/><create qname="label" type="xs:string"/><create qname="valueTwo" type="xs:string"/><create qname="valueTerm" type="xs:string"/><create qname="classifier" type="xs:string"/><create qname="scriptClassifier" type="xs:string"/><create qname="frequencyClassifier" type="xs:string"/><create qname="nameOrder" type="xs:string"/></index></collection> >> \ No newline at end of file |