Search found 2095 matches

by george
Mon May 02, 2011 4:49 pm
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3491

Re: Oxygen overwrote xsl script during debugging session

Your last reply and my reply were almost in the same time... Maybe it is not clear from my earlier reply but if you set an output file for the transformation output then the result-document without href will go to that file and you will not have this problem anymore. Version 12.2 is expected to be a...
by george
Mon May 02, 2011 4:29 pm
Forum: Common Problems
Topic: Oxygen overwrote xsl script during debugging session
Replies: 7
Views: 3491

Re: Oxygen overwrote xsl script during debugging session

Hi, If there is no output set for a transformation then all relative references on result-document were resolved to the current working directory, which normally is the oXygen installation folder. We modified this by setting the system ID as the XSLT system ID and everything worked well even with th...
by george
Mon Apr 18, 2011 2:43 pm
Forum: Common Problems
Topic: Schema and DTD in document type association
Replies: 1
Views: 1578

Re: Schema and DTD in document type association

The best approach to this is to set both the DTD and the schema in the document. Putting the DTD outside will cause you a lot of trouble trying to process that as you need to set up each processing workflow to handle this situation. After putting the DTD inside is not easy to trigger the schema vali...
by george
Fri Apr 15, 2011 5:20 pm
Forum: XML Schemas
Topic: validate XHTML doc with DTD and schema
Replies: 1
Views: 3643

Re: validate XHTML doc with DTD and schema

Hi Mark, I cannot find any XML Schema document at that location: http://www.madcapsoftware.com/Schemas/MadCap.xsd so although that looks like a schema document it is just an identifier for their namespace. The file is not XHTML valid against the XHTML DTD or schema. You have either the option to cre...
by george
Fri Apr 08, 2011 12:35 pm
Forum: Common Problems
Topic: including xinclude
Replies: 5
Views: 2308

Re: including xinclude

The first occurrence of an entity wins but the internal subset gets a chance to modify anything from the external DTDs. Most of the redefine techniques work this way, that is by placing the redefinitions inside the reference to the content to be redefined. See for example the xsd:redefine from XML S...
by george
Thu Apr 07, 2011 2:20 pm
Forum: Common Problems
Topic: including xinclude
Replies: 5
Views: 2308

Re: including xinclude

I think a better model is to think of that as the internal subset overwrites entities that are declared/used in the external subset.

Basically the specification does not restricts the order in which a processor reads the DTDs/internal subset, it cares only about the end result.

Best Regards,
George
by george
Thu Mar 31, 2011 9:34 pm
Forum: Other Issues
Topic: Catalog and DnD customization using own plugin
Replies: 5
Views: 2318

Re: Catalog and DnD customization using own plugin

Hi,

We'll look into the problem that dragging from Eclipse a resource with URLTransfer to Oxygen standalone does not open the URL in Oxygen.

Regards,
Radu
by george
Thu Mar 24, 2011 6:50 am
Forum: XSLT and FOP
Topic: doctype removed with transformation
Replies: 2
Views: 1770

Re: doctype removed with transformation

The DOCTYPE declarations (as it is the case also with entities) is not part of the data model and the XSLT code does not see that. You can add a DOCTYPE declaration in the output using the xsl:output element and specifying the SYSTEM or also the PUBLIC identifiers with the doctype-system and doctype...
by george
Thu Mar 24, 2011 6:40 am
Forum: XSLT and FOP
Topic: unicode characters in transformation
Replies: 2
Views: 2046

Re: unicode characters in transformation

Entities are not part of the data model so basically what happens is that they are converted to characters, processed by XSLT and then the result is serialized. If a character cannot be represented in the output encoding then the serializer will output that as a character entity. So, basically there...
by george
Wed Mar 23, 2011 11:49 pm
Forum: XML Schemas
Topic: Logical Model View -- save as Relax NG
Replies: 18
Views: 13702

Re: Logical Model View -- save as Relax NG

You need to run the shell (I think that is cmd on Windows), that is the application that handles the output redirection to a file. I am on a Mac and I cannot give you the exact details but if you have problems further one of my colleagues on Windows will surely help you.

Regards,
George
by george
Wed Mar 23, 2011 1:27 pm
Forum: XML Schemas
Topic: Logical Model View -- save as Relax NG
Replies: 18
Views: 13702

Re: Logical Model View -- save as Relax NG

No, it was not yet implemented - the above solution to configure an external tool is still the current option. Note that you can use an editor variable to refer to the current file and thus the external tool will work automatically for any schema you have open in oXygen.

Best Regards,
George
by george
Wed Mar 23, 2011 10:29 am
Forum: Common Problems
Topic: Schematron & XPath 2.0 string/numeric comparisons
Replies: 2
Views: 1973

Re: Schematron & XPath 2.0 string/numeric comparisons

This is how it works in XPath 2.0.
See http://www.w3.org/TR/xpath20/#id-general-comparisons
The case when XPath 1.0 compatibility mode is false
***
a. If both atomic values are instances of xs:untypedAtomic, then the values are cast to the type xs:string.
***

Best Regards,
George
by george
Thu Mar 17, 2011 11:34 pm
Forum: Other Issues
Topic: Oxygen Features
Replies: 1
Views: 1519

Re: Oxygen Features

One important feature is the Schematron support. This is especially useful for people editing documents as the error messages are specified by the schema author and thus are in a language that the users will easily understand. If you have a CSS for the users documents then you can use that and switc...
by george
Thu Mar 10, 2011 11:04 pm
Forum: XSLT and FOP
Topic: saxon:character-representation="hex" doesn't work?
Replies: 2
Views: 2503

Re: saxon:character-representation="hex" doesn't work?

I cannot reproduce this, probably you have a wrong namespace for the saxom prefix. Please try the following stylesheet: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xd="http://www.oxygenxml.com/ns/doc...
by george
Tue Feb 15, 2011 8:04 pm
Forum: Feature Request
Topic: xsd to rnc
Replies: 1
Views: 2638

Re: xsd to rnc

oXygen uses Trang for the schema conversions and Trang does not support XSD as input. As you note there are other tools that can do that. In addition you can also try rngconvert from http://java.net/downloads/msv/nightly/ You can easily integrate this as external tool in oXygen and apply it on the c...
by george
Wed Jan 19, 2011 12:30 pm
Forum: Common Problems
Topic: annotations in RNC not showing
Replies: 5
Views: 2538

Re: annotations in RNC not showing

I will look into this - it looks like an issue on how we extract the annotations. I will let you know as soon as I have more details.

Regards,
George
by george
Mon Jan 17, 2011 3:51 pm
Forum: Common Problems
Topic: annotations in RNC not showing
Replies: 5
Views: 2538

Re: annotations in RNC not showing

Please try opening the [oXygen]/samples/relaxng/personal.xml file. This refers to personal.rnc as schema and I just tested it and annotations appear when I try to edit the document, for example when adding a new person element.

Best Regards,
George
by george
Mon Jan 10, 2011 5:06 pm
Forum: XSLT and FOP
Topic: XSL FO: Force wrapping on tables
Replies: 1
Views: 1952

Re: XSL FO: Force wrapping on tables

Hi,

I am not sure if this is possible.
Please try also the xsl list (http://www.mulberrytech.com/xsl/xsl-list/), there are there a lot of XSL-FO experts that surely can provide a definitive answer on this.

Best Regards,
George
by george
Thu Jan 06, 2011 12:23 am
Forum: Common Problems
Topic: calumet integration no longer working in the latest version?
Replies: 8
Views: 4898

Re: calumet integration no longer working in the latest version?

Thanks for updating us on this. I was about to contact Vojtech as in the end we got the stacktrace below that indicates indeed an issue in Calumet. I am happy to hear that the issue has already been fixed in Calumet. ro.sync.xml.transformer.xproc.XProcTransformer - java.lang.NullPointerException: <n...
by george
Mon Jan 03, 2011 12:32 pm
Forum: General XML Questions
Topic: XPath2 and format-number() - "function ... not available wi
Replies: 5
Views: 3581

Re: XPath2 and format-number() - "function ... not available wi

You can use a Schematron schema like: <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> <pattern id="testSequence"> <rule context="record/doc/id"> <let name="p" value...
by george
Mon Jan 03, 2011 11:53 am
Forum: oNVDL Related Issues
Topic: XHTML-XForms NVDL: spurious ID/IDREF errors
Replies: 6
Views: 13500

Re: XHTML-XForms NVDL: spurious ID/IDREF errors

We will provide a solution for this, a new NVDL script that will extract all XHTML and it will validate it with the XHTML schema and then it will extract all the XForms content inside the root html element and validate this with a wrapper schema that defines only the root html element and as content...
by george
Wed Dec 29, 2010 5:38 pm
Forum: Feature Request
Topic: cheat sheets for code templates
Replies: 2
Views: 3646

Re: cheat sheets for code templates

Hi, The code templates can be exported as an XML file from Options->Preferences -- Editor / Templates / Code Templates -- Export. Then you can just write a simple XSLT stylesheet to generate a cheat sheet with the information you like in the format you like. As an example the stylesheet below genera...
by george
Tue Dec 28, 2010 6:16 pm
Forum: General XML Questions
Topic: XPath2 and format-number() - "function ... not available wi
Replies: 5
Views: 3581

Re: XPath2 and format-number() - "function ... not available wi

Hi Pete, I am afraid I do not understand exactly your question. Please provide some more details and eventually also a usecase. In Schematron it is possible to include XSLT code, even XSLT function if you use @queryBinding="xslt2" and turn on "Allow foreign elements" from Options...
by george
Tue Dec 21, 2010 7:50 am
Forum: XSLT and FOP
Topic: retain unicode characters such as &#x002d; in xml to xml tra
Replies: 3
Views: 5646

Re: retain unicode characters such as &#x002d; in xml to xml tra

With XSLT 2,0 you can use character maps: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:character-map name="minus"> <xsl:output-character character="&#x002d;"...
by george
Mon Dec 13, 2010 7:19 pm
Forum: General XML Questions
Topic: Schematron Validation ... problem with Saxon EE
Replies: 2
Views: 2572

Re: Schematron Validation ... problem with Saxon EE

Hi Pete,

Can you please post a sample to reproduce this?
You may try also the Schematron samples from the sample project that comes with oXygen.

Please note that you should not use Saxon-EE as validation engine for Schematron, leave the <Default engine> as the Processor.

Best Regards,
George
by george
Tue Dec 07, 2010 12:59 am
Forum: Other Issues
Topic: Catalogs not working for XProc?
Replies: 3
Views: 2624

Re: Catalogs not working for XProc?

support@oxygenxml.com

Best Regards,
George
by george
Tue Nov 23, 2010 4:34 pm
Forum: XML Schemas
Topic: Schematron - Invalid character (:) in expression
Replies: 2
Views: 3372

Re: Schematron - Invalid character (:) in expression

Hi Alessandro,

If you are using ISO Schematron then in order to switch to XSLT/XPath 2.0 you need to add a queryBinding="xslt2" attribute on the schema element.

Best Regards,
George
by george
Mon Nov 22, 2010 5:54 pm
Forum: General XML Questions
Topic: XPROC how get validation errors
Replies: 1
Views: 1741

Re: XPROC how get validation errors

Hi, AFAIK it is not possible to get the validation errors, the result port will contain the source document with some enhancements, see http://www.w3.org/TR/xproc/#c.validate-with-xml-schema You will probably get them if you register an error listener on the XProc engine. Try also posting a message ...
by george
Wed Nov 03, 2010 10:22 am
Forum: XML Schemas
Topic: How to use the latest version of SAXON for XSD 1.1 validation
Replies: 1
Views: 2278

Re: How to use the latest version of SAXON for XSD 1.1 validation

Hi Roger,

We started working on integrating the latest Saxon and Saxon 9.3 will be available in the next oXygen release. Until then you can use it as an external engine.

Best Regards,
George
by george
Tue Nov 02, 2010 11:08 pm
Forum: Common Problems
Topic: Associating a RelaxNG schema with a framework by version
Replies: 5
Views: 2853

Re: Associating a RelaxNG schema with a framework by version

Dear David, To match a framework based on an attribute value (an attribute of the root element) you need to implement a simple Java extension and set that in the Java class entry from an association rule. Such an extension needs to implement the DocumentTypeCustomRuleMatcher interface that defines o...