From: Martin H. <m1...@sn...> - 2006-08-16 20:20:59
|
Okay, I found the problem. In the stylesheets prior to XTF 1.7, the data directory was assumed to be in a specific structure related to the way things are done here at CDL. Specifically, the 9th and 10th characters of the ID form a directory name, under which these old versions expect to find the data. For instance, for the document ID ft958009mm, it expects this directory structure: data/ mm/ ft958009mm/ ft958009mm.xml For document IDs 8 characters and shorter, this logic did nothing, so in a way you were lucking out. I would suggest eventually upgrading to the newer stylesheets which allow any arbitrary data structuring, and the document identifier simply includes the full directory path. Of course depending on how much customization you've done, this can be difficult. In the meantime though, a workaround is to change your docReqParser.xml. Find this line: <xsl:variable name="sourceDir" select="concat('data/', $subDir, '/', $docId, '/')"/> and change it to this: <xsl:variable name="sourceDir" select="concat('data/', $docId, '/')"/> Let me know if you have any further problems. --Martin On 8/16/06, Julie Cavender <jul...@du...> wrote: > > Martin, > > We are using xtf-1.5.1 > > In looking at xtf-user archives, I saw a past post regarding 10-character > names. That's why I found the error a bit odd. > > Thanks for the help. > > - Julie > > > ------------------------------ > > *From:* mar...@gm... [mailto:mar...@gm...] *On Behalf Of > *Martin Haye > *Sent:* Wednesday, August 16, 2006 10:39 AM > *To:* Julie Cavender > *Cc:* xtf...@li... > *Subject:* Re: [Xtf-user] dynaXML error: invalid document > > > > Julie, > > That's quite strange. The sample data has lots of 10-character names, so > I'm unsure why it's giving you trouble with 8 characters. What version of > XTF are you using? I'll try to reproduce this behavior. > > --Martin > > On 8/16/06, *Julie Cavender* <jul...@du...> wrote: > > We've been using XTF for about 6 months now and recently came up with this error: > > > > > > dynaXML Error: Invalid Document > > *Document Not Found* > > Document *uncrd1092* is not available. Please check that you have typed > the address correctly or that the referring page does not have an error in > its link. > > Document ID: *uncrd1092* > > > > Is there something in XTF that does not allow for filenames longer than 8 > characters? We took the same document and changed it to "uncrd1", "uncrd10" > and "uncrd109" and in each instance the document displayed. Any ideas or > suggestions? > > > > Thanks, > > Julie Cavender > > University of Denver > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Xtf-user mailing list > Xtf...@li... > https://lists.sourceforge.net/lists/listinfo/xtf-user > > > |