TS741 , WS8
I can noit see anything wrong with DCT. But its not parsing.
How can I validate DCT against datacapture6.0.dtd ?
Thanks
Are you getting an error from TeamSite somewhere? Why do you need to validate against the DTD?
This may be an archaic way of validating a DCT but if I am stuck figuring out what I've done wrong, I will comment out everything except the most basic elements and make sure that works and then slowly uncomment more and more until I get to the culprit. If only I still got paid by the hour...
whoops - just noticed this was not for an XSL error, but a DCT error - my mistake. I need another cup of coffee.
I do two things -
1) open the xsl in Firefox - it will flag any "stupid" errors (not closing quotes, tags...)
2) Look in /Interwoven/ApplicationContainer/server/default/log/server.log
99% of the time the cause is in the server.log file.
I typically leave the server log open in some text editor (I use TextPad) while I'm editing the XSL for a component. If it fails to save, look at the bottom of the log file (You may need to go back about 200 lines since there is a lot of extra stuff written during the process, but it will be there.
Good Luck.
Start by commenting out any / all FormAPI code in the DCT and see if it renders that way - or, click on an existing DCR (if any) to bring it up in View mode (where FormAPI code does not get executed). If that works - the problem is in your FormAPI code.
Thats what my question is. How do I validate against DTD in TS 741 ?
There is a script called iwdctverifier.ipl but it fails on my install with a class not found exception
Is it valid XML ?
I first open it in a browser. In FF I click on the DCT from CC_pro, asks me if I want to dlownload:
File datacapture.cfg of type text/xml cannot be displayed in the browser window. You can download the file to your local system, or you can perform any of the standard VisualPreview actions using the toolbar.
And I click the link that sayd Download datacapture.cfg
It will show if the XML is valid.
If you have errors in the DCT they should be logged in iwutild_cmdout.log
anjanas wrote: Spoiler (Highlight to read)Are you getting an error from TeamSite somewhere? Why do you need to validate against the DTD?Are you getting an error from TeamSite somewhere? Why do you need to validate against the DTD? Thats what my question is. How do I validate against DTD in TS 741 ?
You're making the assumption that validating against the DTD means that your DCT is valid. As everybody else has already implied in the thread, the DTD is not a good way to validate your code, mainly because it has its limits but also because it's incorrect in some places.
If you're getting an error and you need help from this forum beyond the suggestions that have already been offered, then post the actual error message (and stack trace, if available).