Search found 17 matches

by Fiona Chen
Sun May 23, 2021 12:33 am
Forum: XSLT and FOP
Topic: Transform attribute to element when element already has a value
Replies: 2
Views: 195

Re: Transform attribute to element when element already has a value

Thank you, Octavian! This is very helpful!
by Fiona Chen
Wed May 19, 2021 9:29 pm
Forum: XSLT and FOP
Topic: Transform attribute to element when element already has a value
Replies: 2
Views: 195

Transform attribute to element when element already has a value

Hello, I need some help to transform below XML: <requestConfirmation xmlns="http://example/confirmation"> <trade> <cal> <c>PRECEDING</c> <bcs id="businessCenters"> <bc>USNY</bc> <bc>GBLO</bc> </bcs> </cal> <amount> <currency id="settlementCurrency" currencyScheme="http://example/iso4">USD</currency>...
by Fiona Chen
Tue Mar 09, 2021 1:04 am
Forum: Common Problems
Topic: XSLT javax.mail.MessagingException
Replies: 8
Views: 758

Re: XSLT javax.mail.MessagingException

Hello, Teo: Below was the testing result: Problem Resolution and Goal - send mail bug.jpeg To put scenario1-4 into perspectives, the ramification (from the UI standpoint) is expanded as such: Transformation-A is completed and result is intended for: Recipient-A: Recipient-A@b.com Message: MTM valuat...
by Fiona Chen
Sat Mar 06, 2021 2:19 am
Forum: Common Problems
Topic: XSLT javax.mail.MessagingException
Replies: 8
Views: 758

Re: XSLT javax.mail.MessagingException

Well done! Just to tie up few loose ends: [*] Given that Oxygen doesn’t honor JavaMail in the CLASSPATH or Extensions, the documentation of saxon:send-mail via Oxygen shall include: JavaMail release version Required collection of jar files and the version (mail, api, smtp, imap…etc) Installation an...
by Fiona Chen
Fri Mar 05, 2021 12:14 am
Forum: Common Problems
Topic: XSLT javax.mail.MessagingException
Replies: 8
Views: 758

Re: XSLT javax.mail.MessagingException

Hello, Teo:

My diagnosis process is deduced as such:
Problem Resolution and Goal - Problem Resolution.jpeg
Problem Resolution and Goal - Problem Resolution.jpeg (101.17 KiB) Viewed 617 times
I seldom move from one failed design to another. I would rather adapt and refine the idea until I find it untenable, then discard it and find the new solutions...

Best
by Fiona Chen
Wed Mar 03, 2021 12:14 am
Forum: Common Problems
Topic: XSLT javax.mail.MessagingException
Replies: 8
Views: 758

Re: XSLT javax.mail.MessagingException

Hello, Teo: Thanks for getting back to me! The transformation went through but I can't see such email. Since yours succeeds, did you actually see the sent or received email? If yes, then what are the expected configurations? What duds me is that I put a bogus email or password...etc, the transformat...
by Fiona Chen
Fri Feb 26, 2021 7:42 am
Forum: Common Problems
Topic: XSLT javax.mail.MessagingException
Replies: 8
Views: 758

XSLT javax.mail.MessagingException

Hello: Not sure if this is can be resolved in SAXON or Oxygen's realm. The XSLT is a straightforward saxon:send-mail . Runtime Error : java.lang.ClassNotFoundException: javax.mail.MessagingException at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Sourc...
by Fiona Chen
Thu Jan 14, 2021 9:28 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

Excellent! Below should be the aligned output in Oxygen/SaxonEE with Streaming mode. On-success message : SaxEE-editor-onsuccessprint-message.jpg On-failure message : SaxEE-editor-onfailure-message.jpg On-termination exception : SaxEE-editor-onterminate.jpg This is the preliminary validation. Notice...
by Fiona Chen
Wed Jan 13, 2021 10:27 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

Interesting Point... Scenario One : Saxon EE -> Enable streaming mode -> Debug -> no message image.png Scenario Two : Saxon EE -> Disable streaming mode -> Debug -> xsl:message Saxon HE | PE works as well image.png Please let me know if you see different results based on above two scenarios from you...
by Fiona Chen
Thu Jan 07, 2021 5:00 am
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

My latest discovery is that the presence of the input XML coincides with the presence of the xsl:message:
If I open the input XML on the screen then edit/start a debug session, the system returns the xsl:message.

I will let you know if I encounter issue with xsl:assert and try/catch.

Thank you !!
by Fiona Chen
Thu Jan 07, 2021 1:53 am
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

Hello, Octavian: I deleted the Oxygen & plugin Options & Project state related files in the FS. Miraculously, it produced the expected message in the simple template...Eh image.png (Notice: The UI is different from my previous image after the cleanup. ) The processor is ALWAYS the same: image.png Ho...
by Fiona Chen
Mon Jan 04, 2021 10:45 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

My goal is to use XSLT3.0 xsl:assert | xsl:try & catch : Strictly validate the transformation results: the transformation involves large amount of data movement and complex calculation Should any of the transformed element count or value doesn't match, the module throws the exception and terminates ...
by Fiona Chen
Mon Jan 04, 2021 10:33 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

Re: XSLT Debugger Messages View

Hello, Octavian: <oXygen/> XML Editor 23.0, build 2020121712 A very simple XSL: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:template match="/"> <xsl:message>Test Message</xsl:message> </...
by Fiona Chen
Sat Jan 02, 2021 11:04 pm
Forum: Common Problems
Topic: XSLT Debugger Messages View
Replies: 10
Views: 957

XSLT Debugger Messages View

Hello, I need to debug my XSL program.

When I turn on the Oxygen debugging sessions, the Messages View doesn't display any message. Below is a example.
image.png
image.png (121.92 KiB) Viewed 944 times
Did I miss anything?
by Fiona Chen
Tue Oct 20, 2020 11:02 pm
Forum: Feature Request
Topic: Generate XSLT for XML-to-JSON based on schema.json
Replies: 2
Views: 507

Re: Generate XSLT for XML-to-JSON based on schema.json

Thank you!
I do utilise XSLT 3.0 to convert XML to JSON.
We have Spring framework which plugin the json.org to transform all kinds of data format to JSON.
So I am evaluating new options...
by Fiona Chen
Mon Oct 19, 2020 9:09 pm
Forum: Feature Request
Topic: Generate XSLT for XML-to-JSON based on schema.json
Replies: 2
Views: 507

Generate XSLT for XML-to-JSON based on schema.json

Hello:
I am not sure if this feature is available in Oxygen:

Can such XSLT be generated for XML-to-JSON based on JSON schema constructs?

There is

Code: Select all

Tools
to transform XML to JSON but not generate XSLT?

Cheers!
by Fiona Chen
Fri Aug 21, 2020 6:01 pm
Forum: XML Schemas
Topic: Validate XML against XSD generated by Oxygen
Replies: 1
Views: 675

Validate XML against XSD generated by Oxygen

Hello: I use Oxygen to generate XSD. However, Oxygen hinted Error: The {target namespace} of an attribute declaration must not match 'http://www.w3.org/2001/XMLSchema-instance'. This predicament causes me to comment out below: <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLo...