Missing Document Header End markup exception while running xslt unit tests
I am working on a document stylesheet related bug.I followed the steps as in [here][1] for adding new test case for the bug.After adding the the .xml file retrieved from the failed test results in the directory and running the unit test, I got the following exception: ![alt text][2] Infact, the stylesheet has an EndofDocumentHead comment inside it.I am not sure what is supposed to be done in this case. Did anyone have any issue of this sort with XSLT Tests? [1]:
http://nsawiki.int.westgroup.com/wiki/index.php5/Add_a_new_test_case_to_an_existing_XSLT_integration [2]:
https://techoverflow.int.thomsonreuters.com/upfiles/DHEException.PNG
http://nsawiki.int.westgroup.com/wiki/index.php5/Add_a_new_test_case_to_an_existing_XSLT_integration [2]:
https://techoverflow.int.thomsonreuters.com/upfiles/DHEException.PNG
Tagged:
0
Answers
-
Does the comment actually get hit and processed? The error is stating that the XHTML output did not have the following syntax:
This should be a child of the ***co_document*** id div tag and right after ***co_documentHead***.0 -
The comment gets processed and inserts a DHE in xhtml for other input xml document(I copy-pasted other xml input documents in the folder to check if it is happening for other documents as well for this stylesheet). But this error occurs only for one
document.In the .xhtml file I see the following where DHE should have been : This was rendered using generic stylesheet.The content type has not been mapped For reference the docguid for the docuemnt is: IE7FB1361C1BC11E2A244C7587B585F770 -
This means the comment was not processed, if it was the DHE comment would be displayed. The generic stylesheet is not matching the XML to the template you are expecting. You need to write your own or use an existing one and map your collection to a content type.0
-
In ContentTypeMapData.xml I added the following to map my collection to content-type
The Issue still exists even after mapping collection set to content-type. Should something else need to be done here?. where would i get the values for TocCollectionName and IsVersionedToc/IsVersioned?0 -
Collection Sets aren't mapped in that xml, collections are, refer to this documentation on how to add new content to document.
https://thehub.thomsonreuters.com/docs/DOC-5759740 -
Thank you.0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛