UPK: Publishing Training Guide Fails With "Path(Uri) = 'odpub://int/Training Guide/selection1.xml'" (Doc ID 2196912.1)

Last updated on OCTOBER 25, 2016

Applies to:

User Productivity Kit - Version 12.1.2 and later
Information in this document applies to any platform.

Symptoms

After upgrading to UPK 12.1.0.2, custom Training Guide template fails with the error message:

An error occurred while loading document 'odpub://INT/Training Guide/OxmlPrint/Doc/word/document.xml'. See InnerException for a complete description of the error. Path(Uri) = 'odpub://int/Training Guide/selection1.xml'.

System.Xml.Xsl.XslTransformException: An error occurred while loading document 'odpub://INT/Training Guide/OxmlPrint/Doc/word/document.xml'. See InnerException for a complete description of the error. at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase) at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) at (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer) at System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver) at Gkn.OnDemand.Publishing.Tasks.Xslt.Execute() in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\PublishingComponent\Tasks\Xslt.cs:line 207 InnerException: System.Xml.XmlException: The 'w:p' start tag on line 2 position 4274 does not match the end tag of 'w:body'. Line 2, position 274814. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XsdValidatingReader.Read() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space) at Gkn.OnDemand.Publishing.Tasks.Xslt.GetValidatedXPathDocument(Stream stream, Uri streamUri) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\PublishingComponent\Tasks\Xslt.cs:line 298 at Gkn.OnDemand.Publishing.Tasks.Xslt.uriResolverInput_GetEntity(Uri absoluteUri, Type ofObjectToReturn) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\PublishingComponent\Tasks\Xslt.cs:line 357 at Gkn.OnDemand.Publishing.UriResolver.GetEntity(Uri absoluteUri, String role, Type entityType) in c:\BuildRoot\Engineering\Branches\HardRock\Core_DotNet\PublishingComponent\UriResolver.cs:line 30 at System.Xml.Xsl.Runtime.XmlQueryContext.GetDataSource(String uriRelative, String uriBase)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms