Hi,

Has anyone implemented this?

I have a two driver with the same issue, I can't edit the schema.
Or even worse, I can edit the line so it looks right.
It even looks right if I export the whole driver as an xml file and
search for the schema.

But, if I start the driver I get this schema on the rl side no matter
what:
<schema>LastName,FirstName,Title,Email,WorkPhone,F ax,WirelessPhone,Description</schema>

Just to make sure I even recreated the driver from scratch.


What makes it so odd is that it seems like I get two scheemas.
First I get this:

DirXML: [01/26/11 10:03:38.47]: TRACE: Remote Loader: Starting
driver...
DirXML: [01/26/11 10:03:38.47]: TRACE: Remote Loader: Calling
DriverShim.init()
DirXML: [01/26/11 10:03:38.47]: TRACE: <nds dtdversion="3.5"
ndsversion="8.x">
<source>
<product version="3.6.1.4427">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<init-params
src-dn="\TK-IDVAULT2\TK\System\DriverSet02\Driver">
<driver-options>
<schema display-name="Field Names (Field1,Field2,Field3)"
id="100">Command,User1,User2,User11,User12,User13, Card3,Card4,Card5,Card7</schema>
<objectClass display-name="Object Class Name"
id="101">Users</objectClass>
</driver-options>
</init-params>
</input>
</nds>
DirXML: [01/26/11 10:03:38.47]: TRACE: Generic File Driver: init start

and a bit later in the startup I get this:

DirXML: [01/26/11 10:03:38.50]: TRACE: Driver\Publisher: init
DirXML: [01/26/11 10:03:38.51]: TRACE: Driver\Publisher: init -
Creating fileLocator object
DirXML: [01/26/11 10:03:38.51]: TRACE: Driver\Publisher:
init:d:\publisher\users - java.util.regex.Matcher[pattern=(?i).*\.csv
region=0,0 lastmatch=]
DirXML: [01/26/11 10:03:38.51]: TRACE: Driver\Publisher: init -
Creating fileSorter object
DirXML: [01/26/11 10:03:38.51]: TRACE: Driver\Publisher: init -
Creating fileReader object
DirXML: [01/26/11 10:03:38.51]: TRACE: Driver\Publisher: init -
Initial driver boot (no publisher state found)
DirXML: [01/26/11 10:03:38.51]: TRACE: Remote Loader:
PublicationShim.init() returned:
DirXML: [01/26/11 10:03:38.51]: TRACE: <nds dtdversion="3.0">
<source>
<product build="2010-03-28 17:52" instance="Driver"
version="0.2">Generic File Driver</product>
<contact>VanCauwenberge.info</contact>
</source>
<output>
<status level="success" type="driver-status">
<options>
<csvReader_UseHeaderNames display-name="CSVReader: use
the header names (true) or the driver schema given (false)
">true</csvReader_UseHeaderNames>
<csvReader_forcedEncoding display-name="CSVReader:
forced enoding of the xml file. Leave blank to use system
default encoding.">UTF-8</csvReader_forcedEncoding>
<csvReader_hasHeader display-name="CSVReader: has the
CSV file a header (true/false)">true</csvReader_hasHeader>
<csvReader_seperator display-name="CSVReader: field
seperator">,</csvReader_seperator>
<csvReader_skipEmptyLines display-name="CSVReader: skip
empty lines (true/false)">true</csvReader_skipEmptyLines>
<pub_FileSorter display-name="Publisher: File Sorter
Strategy
(Class):">info.vancauwenberge.filedriver.filesorte r.FilePropertySorter</pub_FileSorter>
<pub_fileLocator display-name="Publisher: File Locator
Strategy
(Class):">info.vancauwenberge.filedriver.filelocat or.RegExpFileLocator</pub_fileLocator>
<pub_fileReader display-name="Publisher: File Reader
Strategy
(Class):">info.vancauwenberge.filedriver.filereade r.csv.CSVFileReader</pub_fileReader>
<pub_heartbeatInterval display-name="Publisher:
Heartbeat interval (minutes):">10</pub_heartbeatInterval>
<pub_metaData display-name="Publisher: List of meta
data elements that should be
added(recordNumber,isLastRecord,filePath,fileName, fileSize):">recordNumber,isLastRecord</pub_metaData>
<pub_pollingInterval display-name="Publisher: Polling
interval (seconds):">3600</pub_pollingI
DirXML: [01/26/11 10:03:38.53]: nterval>
<pub_workDir display-name="Publisher: Temporary work
folder:">d:\publisher\users\temp</pub_workDir>
<regExp-regExp display-name="RegExpFileLocator: Regular
expression for finding files.Use (?i) at start to make case
ignore regexp:">(?i).*\.csv</regExp-regExp>
<regExp-sourceFolder display-name="RegExpFileLocator:
Source folder for files:">d:\publisher\users</regExp-sourceFolder>

<schema>LastName,FirstName,Title,Email,WorkPhone,F ax,WirelessPhone,Description</schema>
</options>
</status>
</output>
</nds>
DirXML: [01/26/11 10:03:38.53]:
DirXML Log Event -------------------
Driver = \TK-IDVAULT2\TK\System\DriverSet02\Driver
Thread = Subscriber
Level = success
Message = Remote driver successfully started


--
-----------------------------------
joakim . ganse_@_ accept-it . se
------------------------------------------------------------------------
joakim_ganse's Profile: http://forums.novell.com/member.php?userid=6236
View this thread: http://forums.novell.com/showthread.php?t=430893