Search found 25 matches

by tsm21
Thu Jul 30, 2015 1:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Previously We have got a reply from that it not possible to run all the xspec test cases simultaneously due to limitations. Hello, There are several solutions/answers but each one has some limitations: 1. From the project view select all the xspec files that you want to run. Right click to di...
by tsm21
Tue Jul 21, 2015 11:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, We have written a test case for xslt file in xspec.xml. Now we want to create a test case report (excel sheet) based on the xspec file. for example we want to generate a test report based on the <x:param>, <x:scenario>, <x:context>, <x:expect> from xspec file. Is it possible to create a test ...
by tsm21
Fri Jul 03, 2015 10:27 am
Forum: XSLT and FOP
Topic: XML to Excel Transformation
Replies: 7
Views: 14462

Re: XML to Excel Transformation

Hi,

We are creating an excel sheet with ".xlsx" extension using xslt file and the error is displayed for this generated excel sheet.

If we manually create an excel sheet with ".xlsx" format, we are able to open the file in oxygen XML editor.





Thank you
Sai
by tsm21
Fri Jul 03, 2015 8:09 am
Forum: XSLT and FOP
Topic: XML to Excel Transformation
Replies: 7
Views: 14462

Re: XML to Excel Transformation

Hi,

Actually we have tried opening ".xlsx" in the editor too and could not open it, as the same error is displayed.
Unknown Archive format or corrupted Archive




Thank you
Sai
by tsm21
Wed Jul 01, 2015 10:20 am
Forum: XSLT and FOP
Topic: XML to Excel Transformation
Replies: 7
Views: 14462

Re: XML to Excel Transformation

Hi, We have tried to open the ".xls" file as per the solution given, but still we are unable to open the excel file in oXygen XML editor. Right Click ".xls" file --> open --> Archive Browser window Instead a pop up error window is displayed in editor saying that "Unknown Arc...
by tsm21
Wed Jul 01, 2015 9:32 am
Forum: XML Schemas
Topic: Ant integration with XML schemas
Replies: 6
Views: 4881

Re: Ant integration with XML schemas

Hi Radu,

Thanks for the solution.

Is it possible to run the xml schema(relaxNG + schematron) validation files through command line arguments instead of oXygen XML editor GUI?





Thank you
Sai
by tsm21
Tue Jun 30, 2015 10:17 am
Forum: XML Schemas
Topic: Ant integration with XML schemas
Replies: 6
Views: 4881

Re: Ant integration with XML schemas

According to this solution given by Radu Hi Sai, When you validate an XML with a Relax NG with embedded Schematron rules, you actually need to perform two separate validations. So you would probably need to do something like: 1) Validate the XML with the Relax NG schema using Jing. 2) Extract from t...
by tsm21
Mon Jun 29, 2015 9:40 am
Forum: XSLT and FOP
Topic: XML to Excel Transformation
Replies: 7
Views: 14462

XML to Excel Transformation

Hi, We have an xslt file which converts XML to Excel. But when we give the output file extension type as '.xls' we are getting the following warning if we try to open the output excel file. The file you are trying to open, 'abc.xls', is in a different format than specified by the extension. Verify t...
by tsm21
Mon Jun 29, 2015 8:08 am
Forum: XML Schemas
Topic: Ant integration with XML schemas
Replies: 6
Views: 4881

Re: Ant integration with XML schemas

Hi Radu,

Thanks for the solution.

We have a doubt if we could run the xml schema(relaxNG + schematron) validations through command line arguments instead of oXygen XML editor GUI.





Thank you
Sai
by tsm21
Thu Jun 25, 2015 9:54 am
Forum: XML Schemas
Topic: Ant integration with XML schemas
Replies: 6
Views: 4881

Ant integration with XML schemas

Hello, we have developed an rng file with embedded rules of Relaxng and schematron. But we want to integrate both the schemas(relaxng and schematron) in to single ant build file. We have already found a jar file (JING.jar) which integrates relaxNG rules with ant environment and (ant-schematron.jar) ...
by tsm21
Fri Jun 05, 2015 9:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Actually we have downloaded the latest Saxon 9.6.0.5 jar file and copied it in the lib folder of oxygen XML editor home directory ( ../Oxygen XML Editor 16/lib ). We have restarted the editor to make sure the changes are saved. We are still able to see the previous Saxon version but not the l...
by tsm21
Thu Jun 04, 2015 8:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

radu_pisoi wrote: This can happen when the input XML file is not well-formed. So, I suppose that you have selected the text file (sample_txtfile.txt) as input XML file when you have edited the XSLT scenario (see the XML URL field from the XSLT tab when you edit the scenario). However, for your use-...
by tsm21
Thu May 28, 2015 12:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, we are unable to read text document directly with unparsed-text() function and xsl:analyze-string instruction. And we are able to read and process the text file with xsl only if we add an element at the beginning and end of the text file. for example <root> element is added to the below text ...
by tsm21
Mon May 25, 2015 7:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Thank you for the solution... we have created a sample xslt file and text file. sample_txtfile.txt StartThing Size Big Colour Blue coords 42, 42 foo bar EndThing StartThing Size Small Colour Red coords 29, 51 machin bidule EndThing sample_xslt.xsl <?xml version="1.0" encoding="...
by tsm21
Fri May 22, 2015 7:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Is it possible to transform a text file into a flat XML file using XSLT? sample.txt As is text !ITEM_NAME Item value !ANOTHER_ITEM Its value As is text2 !TEST_BANG Here's a value with !bangs!!! !TEST2_BANG !!!Here's a value with !more~ !bangs!!! As is text3 Thanks in advance for your help. Th...
by tsm21
Thu May 07, 2015 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Thank you for your help and support. We have a doubt whether a relaxNG file could be transformed into an XML file using XSLT? When we tried to do the transformation a warning/error is displayed on (Oxygen XML editor) console saying that "Warning! The source document is in namespace http:...
by tsm21
Tue May 05, 2015 11:55 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello,

we want to generate an XML file as output by xsl transformation with input as relax NG file.



Thanks
Sai
by tsm21
Tue May 05, 2015 8:10 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello,

Also is it possible to transform a relaxNG(.rng) file(INPUT) into an XML file(OUTPUT) through XSL file?






Thank you
Regards
Sai
by tsm21
Tue May 05, 2015 8:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Thank you for the solution. We have modified the XSL file and XSPEC file by adding the current-datetime() as a parameter. xml_compare.xspec <?xml version="1.0" encoding="UTF-8"?> <x:description xmlns:x="http://www.jenitennison.com/xslt/xspec" stylesheet="fil...
by tsm21
Mon Apr 27, 2015 12:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Thanks for the solution. Suppose in the input xml file, if we mention time stamp attribute like <data timestamp="{current-dateTime() }"> Then time stamp keeps changing for each transformation but the time stamp information given in expected output will remain same. So, the test case...
by tsm21
Fri Apr 24, 2015 1:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, Thank you for the solution. We have one more doubt regarding the expected output given in <X: expect> in the above xspec file. <x:expect label="should display differences of two xml files"> The above xspec file have small expected output file. But if we have huge output file to be g...
by tsm21
Fri Apr 24, 2015 9:04 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello, I have another issue regarding the usage of global parameters in XSPEC. I have global parameters (say, p1,p2,p3) in XSL file where the values of the paramters change accordingly. So I have written an XSPEC with global parameters in it , so that i could pass the values to the XSL file. Now, i ...
by tsm21
Thu Apr 23, 2015 8:11 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

Hello,

Oxygen XML Editor 16.1, build 2014112517

I am using standalone Oxygen XML editor.


Thank you
Regards
Sai
by tsm21
Tue Apr 21, 2015 1:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

Re: XSPEC and XSLT issue

first_input <data> <class> <object ID="1"> <ID>1</ID> <name>abc</name> <weight>50</weight> </object> <object ID="2"> <ID>2</ID> <name>def</name> <weight>75</weight> </object> </class> </data> second_input <data> <class> <object ID="2"> <ID>2</ID> <name>def</name> <weigh...
by tsm21
Wed Apr 15, 2015 7:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 17472

XSPEC and XSLT issue

Hi, We have a XSPEC file which tests an XSL file (which compares two XML files and display differences in an output file). The XSL files contains global parameters, so have passed values to the XSL file through global parameters in XSPEC file. One input is passed through a parameter say p1 and other...