cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Viewing a profiled DITA document

ptc-925411
1-Newbie

Viewing a profiled DITA document

I'm trying to view a profiled DITA document (Edit |Profiles | View Profiled Document).

My profiles show up fine, but the profiled document doesn't display. Arbortext can't find the profiling.dtd. It's looking for it in c:\windows\system32, not in the Arbortext install directory (see error message below)

I feel like my config must be really messed up. Anybody have any tips on where to look to solve this one?

BTW, thanks for all the recent help. I'd be lost without this list.

Steve

<record date="Mon" oct=" 29=" 21:14:32=" pdt=" 2012&quot;=" millis="1351570472228"&lt;br"/>severity="fatal" suppress="0" thread="main">
<level>FATAL ERROR</level><message>Fatal error encountered while running
composition pipeline. Configuration File: "C:\Program Files\PTC\Arbortext
Editor\composer\createPrds.ccf".</message>
<context class="com.arbortext.epic.internal.compose.ComposerImpl"&lt;br"/>lineNumber="263" method="runPipeline" systemId="ComposerImpl.java">
</context>
<record date="Mon" oct=" 29=" 21:14:32=" pdt=" 2012&quot;=" millis="1351570472228"&lt;br"/>severity="fatal" thread="main">
<level>FATAL ERROR</level><message>java.io.FileNotFoundException:
C:\Windows\system32\profiling.dtd (The system cannot find the file
specified)</message>
<context class="java.io.FileInputStream" method="open"&lt;br"/>systemId="FileInputStream.java"><context class="java.io.FileInputStream"&lt;br"/>lineNumber="120" method="<init>" systemId="FileInputStream.java">
<context class="java.io.FileInputStream" linenumber="79" method="&lt;init">"
systemId="FileInputStream.java"><context<br/>class="sun.net.www.protocol.file.FileURLConnection" lineNumber="70"
method="connect" systemId="FileURLConnection.java"><context<br/>class="sun.net.www.protocol.file.FileURLConnection" lineNumber="161"
method="getInputStream" systemId="FileURLConnection.java"><context<br/>class="org.apache.xerces.impl.XMLEntityManager"
method="setupCurrentEntity"><context<br/>class="org.apache.xerces.impl.XMLEntityManager" method="startEntity">
<context class="org.apache.xerces.impl.XMLEntityManager"&lt;br"/>method="startDTDEntity"><context<br/>class="org.apache.xerces.impl.XMLDTDScannerImpl" method="setInputSource">
<context<br/>class="org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher"
method="dispatch"><context<br/>class="org.apache.xerces.impl.XMLDocumentFragmentScannerImpl"
method="scanDocument"><context<br/>class="org.apache.xerces.parsers.XML11Configuration" method="parse">
<context class="org.apache.xerces.parsers.XML11Configuration"&lt;br"/>method="parse"><context class="org.apache.xerces.parsers.XMLParser"&lt;br"/>method="parse"><context<br/>class="org.apache.xerces.parsers.AbstractSAXParser" method="parse">
<context class="com.arbortext.util.DOMUtils" linenumber="688"&lt;br"/>method="parse" systemId="DOMUtils.java"><context<br/>class="com.arbortext.util.DOMUtils" lineNumber="741"
method="parseXMLToDOM" systemId="DOMUtils.java"><context<br/>class="com.arbortext.epic.saxfilter.profile.ParseLogicalExpression"
lineNumber="209" method="parseProfileResolutionGroup"
systemId="ParseLogicalExpression.java"><context<br/>class="com.arbortext.epic.saxfilter.ServerProfiler" lineNumber="186"
method="initFilter" systemId="ServerProfiler.java"><context<br/>class="com.arbortext.epic.saxfilter.DefaultFilterAdapter"
lineNumber="186" method="initFilter"
systemId="DefaultFilterAdapter.java"><context<br/>class="com.arbortext.epic.internal.compose.FilterContainerImpl"
lineNumber="107" method="initContainer"
systemId="FilterContainerImpl.java"><context<br/>class="com.arbortext.epic.internal.compose.ContainedPipeline"
lineNumber="468" method="runPipeline"
systemId="ContainedPipelineBuilder.java"><context<br/>class="com.arbortext.epic.internal.compose.ComposerImpl$1"
lineNumber="239" method="call" systemId="ComposerImpl.java"><context<br/>class="com.arbortext.epic.internal.compose.ComposerImpl$1"
lineNumber="237" method="call" systemId="ComposerImpl.java"><context<br/>class="com.arbortext.epic.internal.compose.ComposerImpl"
lineNumber="250" method="runPipeline" systemId="ComposerImpl.java">
</context></context></context></context></context></context></context>
</context></context></context></context></context></context></context>
</context></context></context></context></context></context></context>
</context></context></context></context>
</record>
</record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"&lt;br"/>severity="fatal" suppress="0">
<level>FATAL ERROR</level><message>Operation terminated.</message>
</record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"&lt;br"/>msgid="A20951" severity="error" suppress="0">
<level>ERROR</level><message>Failed to translate DITA map document
to PRDS.</message>
</record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"&lt;br"/>severity="fatal" suppress="0">
<level>FATAL ERROR</level><message>Operation terminated.</message>
</record>
5 REPLIES 5

Probably not a good permanent solution (I agree it sounds like your config
is out of whack) but first thing I would try is to copy profiling.dtd to
where Editor is claiming to try and find it (..system32).

My 6.0 m010 profiling.dtd is here:
EDITORINSTALLPATH/doctypes/profiling

Check Help > Session and let us know where Editor thinks your custom
directory is. (You can also issue "response(get_custom_dir())" on the
Editor command line to find this out.) If you are using "generic" Editor,
we would expect it to be:
EDITORINSTALLPATH/custom


On Mon, Oct 29, 2012 at 9:18 PM, Steven Anderson
<sanderson@salesforce.com>wrote:

> I’m trying to view a profiled DITA document (Edit |Profiles | View
> Profiled Document).****
>
> ** **
>
> My profiles show up fine, but the profiled document doesn’t display.
> Arbortext can’t find the profiling.dtd. It’s looking for it in
> c:\windows\system32, not in the Arbortext install directory (see error
> message below)****
>
> ** **
>
> I feel like my config must be really messed up. Anybody have any tips on
> where to look to solve this one?****
>
> ** **
>
> BTW, thanks for all the recent help. I’d be lost without this list.****
>
> ** **
>
> Steve****
>
> ** **
>
> <record date="Mon" oct=" 29=" 21:14:32=" pdt=" 2012&quot;=" millis="1351570472228"****&lt;br"/>>
> severity="fatal" suppress="0" thread="main">****
>
> <level>FATAL ERROR</level><message>Fatal error encountered while running**
> **
>
> composition pipeline. Configuration File: "C:\Program Files\PTC\Arbortext*
> ***
>
> Editor\composer\createPrds.ccf".</message>****
>
> <context class="com.arbortext.epic.internal.compose.ComposerImpl"****&lt;br"/>>
> lineNumber="263" method="runPipeline" systemId="ComposerImpl.java">****
>
> </context>****
>
> <record date="Mon" oct=" 29=" 21:14:32=" pdt=" 2012&quot;=" millis="1351570472228"****&lt;br"/>>
> severity="fatal" thread="main">****
>
> <level>FATAL ERROR</level><message>java.io.FileNotFoundException:****
>
> C:\Windows\system32\profiling.dtd (The system cannot find the file****
>
> specified)</message>****
>
> <context class="java.io.FileInputStream" method="open"****&lt;br"/>>
> systemId="FileInputStream.java"><context class="java.io.FileInputStream"**&lt;br"/>> **
>
> lineNumber="120" method="<init>" systemId="FileInputStream.java">****
>
> <context class="java.io.FileInputStream" linenumber="79" method="&lt;init">"
> ****
>
> systemId="FileInputStream.java"><context****<br/>>
> class="sun.net.www.protocol.file.FileURLConnection" lineNumber="70"****
>
> method="connect" systemId="FileURLConnection.java"><context****<br/>>
> class="sun.net.www.protocol.file.FileURLConnection" lineNumber="161"****
>
> method="getInputStream" systemId="FileURLConnection.java"><context****<br/>>
> class="org.apache.xerces.impl.XMLEntityManager"****
>
> method="setupCurrentEntity"><context****<br/>>
> class="org.apache.xerces.impl.XMLEntityManager" method="startEntity">****
>
> <context class="org.apache.xerces.impl.XMLEntityManager"****&lt;br"/>>
> method="startDTDEntity"><context****<br/>>
> class="org.apache.xerces.impl.XMLDTDScannerImpl" method="setInputSource">*
> ***
>
> <context****<br/>>
> class="org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher"****
>
> method="dispatch"><context****<br/>>
> class="org.apache.xerces.impl.XMLDocumentFragmentScannerImpl"****
>
> method="scanDocument"><context****<br/>>
> class="org.apache.xerces.parsers.XML11Configuration" method="parse">****
>
> <context class="org.apache.xerces.parsers.XML11Configuration"****&lt;br"/>>
> method="parse"><context class="org.apache.xerces.parsers.XMLParser"****&lt;br"/>>
> method="parse"><context****<br/>>
> class="org.apache.xerces.parsers.AbstractSAXParser" method="parse">****
>
> <context class="com.arbortext.util.DOMUtils" linenumber="688"****&lt;br"/>>
> method="parse" systemId="DOMUtils.java"><context****<br/>>
> class="com.arbortext.util.DOMUtils" lineNumber="741"****
>
> method="parseXMLToDOM" systemId="DOMUtils.java"><context****<br/>>
> class="com.arbortext.epic.saxfilter.profile.ParseLogicalExpression"****
>
> lineNumber="209" method="parseProfileResolutionGroup"****
>
> systemId="ParseLogicalExpression.java"><context****<br/>>
> class="com.arbortext.epic.saxfilter.ServerProfiler" lineNumber="186"****
>
> method="initFilter" systemId="ServerProfiler.java"><context****<br/>>
> class="com.arbortext.epic.saxfilter.DefaultFilterAdapter"****
>
> lineNumber="186" method="initFilter"****
>
> systemId="DefaultFilterAdapter.java"><context****<br/>>
> class="com.arbortext.epic.internal.compose.FilterContainerImpl"****
>
> lineNumber="107" method="initContainer"****
>
> systemId="FilterContainerImpl.java"><context****<br/>>
> class="com.arbortext.epic.internal.compose.ContainedPipeline"****
>
> lineNumber="468" method="runPipeline"****
>
> systemId="ContainedPipelineBuilder.java"><context****<br/>>
> class="com.arbortext.epic.internal.compose.ComposerImpl$1"****
>
> lineNumber="239" method="call" systemId="ComposerImpl.java"><context****<br/>>
> class="com.arbortext.epic.internal.compose.ComposerImpl$1"****
>
> lineNumber="237" method="call" systemId="ComposerImpl.java"><context****<br/>>
> class="com.arbortext.epic.internal.compose.ComposerImpl"****
>
> lineNumber="250" method="runPipeline" systemId="ComposerImpl.java">****
>
> </context></context></context></context></context></context></context>****
>
> </context></context></context></context></context></context></context>****
>
> </context></context></context></context></context></context></context>****
>
> </context></context></context></context>****
>
> </record>****
>
> </record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"****&lt;br"/>>
> severity="fatal" suppress="0">****
>
> <level>FATAL ERROR</level><message>Operation terminated.</message>****
>
> </record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"****&lt;br"/>>
> msgid="A20951" severity="error" suppress="0">****
>
> <level>ERROR</level><message>Failed to translate DITA map document****
>
> to PRDS.</message>****
>
> </record><record date="Mon" oct=" 29=" 21:14:32=" 2012&quot;=" millis="1351570472"****&lt;br"/>>
> severity="fatal" suppress="0">****
>
> <level>FATAL ERROR</level><message>Operation terminated.</message>****
>
> </record>****
>

Hi Steve--



This should be controlled by your catalog files. In
$ARBORTEXT/doctypes/catalog, you should see the following, near the
middle:


Thanks Paul and Clay, the catalogpath is configured with that path, and the catalog is there, and the profiling dtd is there.

I think it's time for to do a complete re-install. 😞 Oh well, you play with things too much, sometimes that happens.

Steve

Hi Steve--



If you want to do a quick test of your catalog configuration before you
go to reinstall, you can try this: on the Arbortext command line, type:



response(entity_resolve(", "-//Arbortext//DTD Profiling
Configuration 1.0//EN"));



You should get a message box that says "C:\Program Files\PTC\Arbortext
Editor\doctypes\profiling\profiling.dtd". If the dialog comes up blank,
that is an indication that your catalog configuration is broken
somewhere.



--Clay





Clay Helberg

Senior Consultant

TerraXML


You sent me down the right path, Clay, thanks.

I added a newer version of xercesImpl.jar to my classpath to work around a Java exception. That was the cause. Now to find the work-around for that problem.

Steve
Top Tags