Search found 97 matches

by Jamil
Wed Dec 04, 2013 2:48 am
Forum: Common Problems
Topic: Encounter Bogus Errors When Debugging XSLT
Replies: 10
Views: 4148

Re: Encounter Bogus Errors When Debugging XSLT

I am at home now using my desktop. I reproduced the issue here. I do not see an error message, but the Debugger Errors tab shows the following: E -1 Processing simply stops. The stylesheet works fine outside of the debugger. I only have issues when debugging. Also, the issue appears to not be relate...
by Jamil
Wed Dec 04, 2013 12:57 am
Forum: Common Problems
Topic: Encounter Bogus Errors When Debugging XSLT
Replies: 10
Views: 4148

Re: Encounter Bogus Errors When Debugging XSLT

This is the stand-alone editor. I am running the latest available version. I originally experienced the issue on my home desktop computer. This was where I saw the error in the Messages tab of the debugger. I am in the office now attempting the same on my laptop. I an experiencing different behavior...
by Jamil
Tue Dec 03, 2013 10:18 pm
Forum: Common Problems
Topic: Encounter Bogus Errors When Debugging XSLT
Replies: 10
Views: 4148

Encounter Bogus Errors When Debugging XSLT

I am experiencing an issue with the latest build of the stand-alone editor: 15.1 build 2013110816 Debugging XSLT does work correctly. However, it appears as if the application retains state that is stale when attempting to debug a second time. I have reproduced this issue a few times with this build...
by Jamil
Tue Dec 03, 2013 8:26 pm
Forum: XSLT and FOP
Topic: Count how many nodes have the same value of a child node (wi
Replies: 2
Views: 28509

Re: Count how many nodes have the same value of a child node

I'm not sure if you had issues doing this. In case you have, here is a stylesheet that works with your example XML. Note that this is a version 2.0 stylesheet that makes use of the distinct-values function. This will work fine within Oxygen, but if you are doing this in code, you must use a 2.0 XSLT...
by Jamil
Tue Dec 03, 2013 4:39 pm
Forum: XSLT and FOP
Topic: Count how many nodes have the same value of a child node (wi
Replies: 2
Views: 28509

Re: Count how many nodes have the same value of a child node

The XPath to do this is relatively simple:

count(/list/student[major='Chemistry'])

If you want to do that in an XSLT, you can do a variable replacement for the major.
by Jamil
Sun Dec 01, 2013 11:41 pm
Forum: General XML Questions
Topic: How to test in Schematron: element value begins with
Replies: 2
Views: 4612

Re: How to test in Schematron: element value begins with

There was a bug in my schema above that I am fixing with this change: <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> <pattern> <rule context="/test/communicationChannel[@communicationChann...
by Jamil
Sun Dec 01, 2013 11:27 pm
Forum: General XML Questions
Topic: How to test in Schematron: element value begins with
Replies: 2
Views: 4612

Re: How to test in Schematron: element value begins with

Hello. I took a quick look at what you are trying to do. I got it to work with the following changes. You will need to change this if you are using namespaces. First, here is my sample XML document: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="schematron_xml.sch&...
by Jamil
Fri Nov 29, 2013 11:39 pm
Forum: Common Problems
Topic: Issue WIth Canonicalize
Replies: 4
Views: 2130

Re: Issue WIth Canonicalize

Format and Indent will remove blank line. The problem was that I had the option preserver blank lines turned on. Turning this off removes the blank lines, so never mind. Thanks for looking into this.
by Jamil
Fri Nov 29, 2013 11:34 pm
Forum: Common Problems
Topic: Issue WIth Canonicalize
Replies: 4
Views: 2130

Re: Issue WIth Canonicalize

The second issue may be working as intended. The issue then is there is no way that Oxygen will remove this excess whitespace (that really is undesired) automatically. Format and Indent will not remove it. As a work-around, I can doing multiple search and replaces using a regular expression: Search ...
by Jamil
Fri Nov 29, 2013 10:29 pm
Forum: XSLT and FOP
Topic: Expected Format of DOCX Files
Replies: 3
Views: 2739

Re: Expected Format of DOCX Files

One final comment on this-- If the end result transformation has incorrect links, this is most likely due to the Word document containing extra spacing. I found that when I indent paragraphs and add extra blank lines to the original Word document, things break during the final transformation. When I...
by Jamil
Fri Nov 29, 2013 10:09 pm
Forum: XSLT and FOP
Topic: Expected Format of DOCX Files
Replies: 3
Views: 2739

Re: Expected Format of DOCX Files

I played around with this a bit, and I got it to work successfully. In case anyone else encounters this issue, the Word document requires the following to have the DITA XSL transformations work as is with no modification: A document title using the built-in title style A table of contents using Word...
by Jamil
Fri Nov 29, 2013 6:55 pm
Forum: XSLT and FOP
Topic: Expected Format of DOCX Files
Replies: 3
Views: 2739

Expected Format of DOCX Files

I have been attempting to get MS Word DOCX files to DITA transformations to work, but I have been unsuccessful so far. When I open a DOCX file in Oxygen 15.1, this is the failure I see when executing the transform scenario: [xslt] - [ERROR] The first block in the Word document must be mapped to the ...
by Jamil
Sat Nov 23, 2013 8:02 pm
Forum: Common Problems
Topic: Issue WIth Canonicalize
Replies: 4
Views: 2130

Re: Issue WIth Canonicalize

Secondly, canonicalize currently replaces all comments with whitespace. This is not desired, and it shows for both exclusive and inclusive if you do not choose to preserve comments. Can you please remove the extra whitespace that result when comments are removed? This shows as blank lines in the doc...
by Jamil
Sat Nov 23, 2013 7:55 pm
Forum: Common Problems
Topic: Issue WIth Canonicalize
Replies: 4
Views: 2130

Issue WIth Canonicalize

I just ran into an issue with the canonicalize feature under Oxygen 15.1 build 2013110816. I am not sure how long this issue has been present, but it is currently in this build. The problem is that the application attempts to canonicalize an XML document if the tags have been locked. This feature sh...
by Jamil
Sat Nov 23, 2013 7:48 pm
Forum: Feature Request
Topic: Persist Lock/Unlock XML Tags Setting For Docs In Project
Replies: 2
Views: 2311

Re: Persist Lock/Unlock XML Tags Setting For Docs In Project

After giving this some thought, a potential way to implement this with minimal code change is to store an attribute for each document of the project in the xpr project XML document. It currently has a node that looks like this: <projectTree name="project.xpr"> <file name="one.xml"...
by Jamil
Sat Nov 23, 2013 6:48 pm
Forum: Feature Request
Topic: Persist Lock/Unlock XML Tags Setting For Docs In Project
Replies: 2
Views: 2311

Persist Lock/Unlock XML Tags Setting For Docs In Project

For a given project, please persist the current setting of Lock/Unlock XML tags for a given document. I currently have to turn this option on each time I start the editor. It would be nice if it retains this state for a given document when I restart the editor. This state could be saved in a project...
by Jamil
Fri Nov 22, 2013 7:47 pm
Forum: Feature Request
Topic: Lock/Unlock Tags For Eclipse Plugin
Replies: 1
Views: 1936

Lock/Unlock Tags For Eclipse Plugin

I use the Lock/Unlock XML tag feature of the stand-alone editor quite a bit. It is very useful, and it would be great if this feature was implemented in the Eclipse plugin too. For it to be as effective as it is in the stand-alone editor, two things need to happen: 1) implement lock/unlock XML tags ...
by Jamil
Mon Nov 18, 2013 9:06 pm
Forum: Common Problems
Topic: Minor Eclipse Plugin Attribute Issue
Replies: 5
Views: 2250

Re: Minor Eclipse Plugin Attribute Issue

15.1 Build 2013110816
by Jamil
Mon Nov 18, 2013 8:48 pm
Forum: Common Problems
Topic: Minor Eclipse Plugin Attribute Issue
Replies: 5
Views: 2250

Re: Minor Eclipse Plugin Attribute Issue

Forgot to state that I am currently running the latest version available of all software:

Eclipse Java EE 4.3.1
OxygenXML 15.1
by Jamil
Mon Nov 18, 2013 8:45 pm
Forum: Common Problems
Topic: Minor Eclipse Plugin Attribute Issue
Replies: 5
Views: 2250

Minor Eclipse Plugin Attribute Issue

I found a minor issue with the Eclipse plug-in. I think this should be fixed at the earliest opportunity, but it is by no means a pressing issue. Here is how to reproduce: Take the following schema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.or...
by Jamil
Fri Nov 08, 2013 1:08 am
Forum: Common Problems
Topic: Add-ons URL Is Incorrect
Replies: 1
Views: 1347

Add-ons URL Is Incorrect

For as long as I had been using oxygen, I have never installed an add-on. I now know why I did not -- it is because the URL for it on the options screen is incorrect. It is set to this on installation: http://www.oxygenxml.com/InstData/Addons/default/updateSite.xml It should instead be this: http://...
by Jamil
Thu Oct 31, 2013 1:36 am
Forum: XML Schemas
Topic: XML Schema Oddity With Pattern Restrictions
Replies: 3
Views: 5801

Re: XML Schema Oddity With Pattern Restrictions

Thank you for your follow-up. The issue with the Java runtime is noted, and I will look into the latest available Xerces.

Thanks again.
by Jamil
Wed Oct 30, 2013 4:05 pm
Forum: XML Schemas
Topic: XML Schema Oddity With Pattern Restrictions
Replies: 3
Views: 5801

Re: XML Schema Oddity With Pattern Restrictions

Here is more of the stack trace. I am using Apache Xerces in Java 1.6: Caused by: org.xml.sax.SAXParseException: InvalidRegex: Pattern value '[-]?\d+[abcd]' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.' at column '1'. at com.sun.org.apach...
by Jamil
Fri Oct 25, 2013 9:29 pm
Forum: XML Schemas
Topic: XML Schema Oddity With Pattern Restrictions
Replies: 3
Views: 5801

XML Schema Oddity With Pattern Restrictions

I am using oXygen 15.1 editor. This question is not a problem with the editor. It is something odd with XML Schema 1.0. I created an XML schema that contains a pattern restriction. I had tested it against a few XML parsers and XSLT processors including Saxon 9.5.1.2j and MSXML 4.0 SP3. With these tw...
by Jamil
Wed Oct 16, 2013 6:58 am
Forum: Other Issues
Topic: Question On Saxon EE License Purchase
Replies: 2
Views: 1661

Re: Question On Saxon EE License Purchase

Thank you for the info.

I just placed my order.
by Jamil
Tue Oct 15, 2013 7:11 pm
Forum: Other Issues
Topic: Question On Saxon EE License Purchase
Replies: 2
Views: 1661

Question On Saxon EE License Purchase

I see that as a licensed oxygen user, I am eligible for a 25% discount on Saxon EE here: http://oxygenxml.com/buy_saxon.html If I make a purchase on this link, will I then have a valid license to directly download the current 9.5.1.2 of Saxon EE available here?: http://www.saxonica.com/download/down...
by Jamil
Tue Sep 13, 2011 7:42 pm
Forum: XQuery
Topic: How To Execute An XQuery Against Numerous Documents
Replies: 5
Views: 9684

Re: How To Execute An XQuery Against Numerous Documents

Here is a screenshot: http://www.file-shop.com/Images/Misc/oXygen_sc.gif The unneeded attribute wrapping behavior is consistent with both the standalone editor and the Eclipse plug-in. I can find no way to prevent this from happening. I can find no way to specify a line length for documents created ...
by Jamil
Mon Sep 12, 2011 7:07 pm
Forum: Common Problems
Topic: 64-bit Eclipse 3.7?
Replies: 4
Views: 2318

Re: 64-bit Eclipse 3.7?

Issue resolved. It's a misleading and bogus error message.

The reason I got the failure is my 64-bit machine runs Windows 7. The solution is to run eclipse.exe as administrator. Eclipse requires elevation for plug-in installation.
by Jamil
Mon Sep 12, 2011 5:42 pm
Forum: Common Problems
Topic: 64-bit Eclipse 3.7?
Replies: 4
Views: 2318

Re: 64-bit Eclipse 3.7?

I have found that you are correct. Whatever the issue is it is related to 64-bit Eclipse Indigo in general and not oXygen. I receive this same error when attempting to install any new software under Eclipse. -clean has not helped. Also, I deleted the eclipse folder, re-downloaded eclipse-java-indigo...
by Jamil
Sat Sep 10, 2011 7:23 pm
Forum: Common Problems
Topic: 64-bit Eclipse 3.7?
Replies: 4
Views: 2318

64-bit Eclipse 3.7?

I have the 64-bit edition of Eclipse installed. The oXygen plug-in currently does not install under it via the Eclipse Install New Software method. I know oXygen is not 64-bit, but does it have to be to be installed under this version of Eclipse? The specific error I see is: Cannot complete the inst...