From: Adam R. <ad...@ex...> - 2011-10-18 18:43:44
|
I just checked, and your instance below does validate against the Schema (now that I have committed the correct XML Schema file) ;-) On 16 October 2011 10:44, Kemal Pajevic <ke...@pa...> wrote: > Well, you can just try with the example configuration found here: > http://exist-db.org/lucene.html#d1950e354 > (notice that I changed the line ‘<fulltext default="none" attributes="no"/>’ > to ‘<fulltext default="none" attributes="false"/>’ so it complies to the > schema) > <collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://exist-db.org/collection-config/1.0 > file:/C:/dda/exist/schema/collection.xconf.xsd" > xmlns="http://exist-db.org/collection-config/1.0"> > <index xmlns:atom="http://www.w3.org/2005/Atom" > xmlns:html="http://www.w3.org/1999/xhtml" > xmlns:wiki="http://exist-db.org/xquery/wiki"> > <!-- Disable the standard full text index --> > <fulltext default="none" attributes="false"/> > <!-- Lucene index is configured below --> > <lucene> > <analyzer > class="org.apache.lucene.analysis.standard.StandardAnalyzer"/> > <analyzer id="ws" > class="org.apache.lucene.analysis.WhitespaceAnalyzer"/> > <text qname="TITLE" analyzer="ws"/> > <text qname="p"> > <inline qname="em"/> > </text> > <text match="//foo/*"/> > <!-- "inline" and "ignore" can be specified globally or > per-index as > shown above --> > <inline qname="b"/> > <ignore qname="note"/> > </lucene> > </index> > </collection> > > 2011/10/16 Joe Wicentowski <jo...@gm...> >> >> Hi Kemal, >> >> > Using the schema my xconf file failed to validate. >> >> It might help us guide you more directly if you could post your xconf >> file. >> >> - Joe >> >> Sent from my iPod > > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |