Search found 348 matches

by radu_pisoi
Fri Apr 24, 2015 11:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 9925

Re: XSPEC and XSLT issue

Hello, Related to the second problem, when you want to set specific values to the global parameters from different test scenarios. According to the XSpec documentation, https://code.google.com/p/xspec/wiki/WritingScenarios#Global_Parameters , I understand that this is a limitation of the current XSL...
by radu_pisoi
Fri Apr 24, 2015 10:33 am
Forum: SDK-API, Frameworks - Document Types
Topic: XSPEC and XSLT issue
Replies: 33
Views: 9925

Re: XSPEC and XSLT issue

Hello, The first reported problem is related to the different evaluation context used when computing the value of the global variable 's.root' from an XSLT or XSpec transformation. From a regular XSLT transformation , the value of an XSLT global variable is computed by evaluating the XPath expressio...
by radu_pisoi
Thu Apr 02, 2015 11:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: custom functions/instructions in xslt content completion
Replies: 7
Views: 2777

Re: custom functions/instructions in xslt content completion

Both test-functions are only recognized in the saxon-namespace: When typing "saxon:test-" both entries are suggested. After "test:" there is no suggestion by content completion. So the namespace-element in the file appears to be ignored. As Adrian already said, there is no special mechanism designe...
by radu_pisoi
Wed Apr 01, 2015 2:01 pm
Forum: XML Schemas
Topic: Multi-file Schematron architecture
Replies: 7
Views: 5846

Re: Multi-file Schematron architecture

Thank you for your feedback and your willingness to share your ideas and code with us. In oXygen 16.1 we improved the inclusion mechanism when working with ISO Schematron modules by adding support for iso:extends element. This element allows you to include all the components defined in a Schematron ...
by radu_pisoi
Tue Mar 31, 2015 5:10 pm
Forum: XML Schemas
Topic: Finding the code from schematorn message
Replies: 3
Views: 1963

Re: Finding the code from schematorn message

Adding the possibility to identify the assert or report element that generates a certain Schematron message is a nice feature that will help Schematron developers to easily edit their schemas. As you already noted, this feature can be annoying in some circumstances. So, there should be an option for...
by radu_pisoi
Tue Jan 13, 2015 5:51 pm
Forum: XML Schemas
Topic: Unique attribute value within grandparent element
Replies: 1
Views: 1796

Re: Unique attribute value within grandparent element

Hi, One of the problems that I have seen is that you use absolute XPath expressions in the assert/@test attribute, for instance '//street//fact'. The previous expression will returns all the 'fact' elements from the entire document not only from the current 'city' element matched by the rule. Anothe...
by radu_pisoi
Mon Jan 05, 2015 6:43 pm
Forum: Common Problems
Topic: Check Relax NG Grammar with Schematron?
Replies: 5
Views: 1988

Re: Check Relax NG Grammar with Schematron?

Hi Frank, However, i was unable to assign the schematron schema to the Relax NG Document. The Menu Item for "Assign Schema" is grayed out. This action was disabled deliberately because there are some situations when it could be used erroneously. For instance, I think there is no reason to associate ...
by radu_pisoi
Tue Dec 23, 2014 1:19 pm
Forum: Feature Request
Topic: Smart edit in xstl stylesheets based on schema components
Replies: 3
Views: 2211

Re: Smart edit in xstl stylesheets based on schema component

Hi Frank, Thank you for your suggestions and sorry for the delay. The content completion driven by the XML Schema when proposing input elements in an XSLT script is indeed a feature that currently is missing in oXygen. Also, the schema-aware editing support is not available. The schema-element(), el...
by radu_pisoi
Fri Aug 08, 2014 4:42 pm
Forum: Common Problems
Topic: Instance Generation picking wrong namespace and not allowing change
Replies: 5
Views: 1765

Re: Instance Generation picking wrong namespace and not allo

Hello, Yes, there is a problem when the hierarchy of the selected schema contains 2 or more elements with the same local name but from different namespaces. In this case you could not select a certain element with a specific local name and namespace because the namespace is selected automatically de...
by radu_pisoi
Fri Apr 18, 2014 9:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: Schematron validation: how to improve error reports?
Replies: 1
Views: 1145

Re: Schematron validation: how to improve error reports?

Hi, - defining a different category for each set of rules. For example, I would like to group the errors related to metadata, and have another group for errors related to table contents. For grouping the rules defined in one or more patterns you can use the phase element. This element is defined in ...
by radu_pisoi
Mon Apr 14, 2014 12:57 pm
Forum: XML Schemas
Topic: Using xs:extension for xs:restriction giving error
Replies: 1
Views: 2257

Re: Using xs:extension for xs:restriction giving error

Analyzing your sample code, I suppose you are trying to restrict a complex type to change the type of a local attribute or element. In this case you should refer a type that is a valid restriction of the original one. In your case you are trying to change the type of the 'Name' attribute from 'Strin...
by radu_pisoi
Fri Feb 28, 2014 12:33 pm
Forum: XML Schemas
Topic: Embedded schematron: problem with pattern/@name and value-of
Replies: 2
Views: 2859

Re: Embedded schematron: problem with pattern/@name and valu

Hello, In oXygen 15.2 version we improved the validation of an XML document with a Schematron schema by also validating the Schematron schema. So the first step in the validation process is to validate the Schematron schema itself. If the schema is valid, then the XML document will be validated agai...
by radu_pisoi
Tue Dec 24, 2013 2:01 pm
Forum: XSLT and FOP
Topic: Unwanted namespace prefix "_0"
Replies: 2
Views: 1424

Re: Unwanted namespace prefix "_0"

Hi Martin, I already answered you on the XSLT list, http://www.mulberrytech.com/xsl/xsl-list/ . I will add my answer below in case somebody else encountered this issue. We investigated the issue and I would like to confirm that it can be obtained only when running the transformation from oXygen. The...
by radu_pisoi
Tue Dec 17, 2013 6:15 pm
Forum: XML Schemas
Topic: Schematron & Counting Total # of Attributes
Replies: 2
Views: 2942

Re: Schematron & Counting Total # of Attributes

Hello, I think that the problem with your Schematron rule is the context in which the assertion is executed. This context is establish by the 'context' attribute from the rule element. So, in your case, for each Property element with @Name='ParentID' and @Value=0 you check (assert) that it has a sin...
by radu_pisoi
Tue Dec 03, 2013 3:54 pm
Forum: XML Schemas
Topic: Adding attribute for root-type in derived schema
Replies: 3
Views: 4560

Re: Adding attribute for root-type in derived schema

Hi Patrik, From the initial post I understand that you want to redefine an attribute group by adding one or more attributes. The attribute group that you want to redefine is available in a schema located on the third or higher level on the schema hierarchy. A sample configuration may looks like: mai...
by radu_pisoi
Wed Jun 19, 2013 12:53 pm
Forum: XSLT and FOP
Topic: XSL Breakpoint in <xsl:include/> file
Replies: 3
Views: 1991

Re: XSL Breakpoint in <xsl:include/> file

Hi, I cannot reproduce the reported problem when I'm running a simple debug session using the Saxon 6.5.5 transformer. In my sample scenario I have two stylesheets, a main stylesheet and an included stylesheet that is resolved through a catalog using URI mappings. From what I've tested if I set a br...
by radu_pisoi
Sat Nov 18, 2006 11:07 am
Forum: Common Problems
Topic: Update to 8.0 from 7 Failed in Eclipse
Replies: 2
Views: 2838

Hello, First make sure you have the Eclipse 3.2 version, a previously version of Eclipse is not supported by 8.0 distribution. In order to reinstall the Eclipse plugin please follow the steps: - uninstall the oXygen plugin, make sure the the directories 'echipseDirectory/plugins/com.oxygenxml.editor...
by radu_pisoi
Fri Nov 17, 2006 11:06 pm
Forum: Common Problems
Topic: Cannot store license.xml when user home is on different disk
Replies: 1
Views: 2688

Dear Allen Cronce, Thank you for reporting this error. We fixed the error of saving a file in a folder where there are no write permissions. Also we updated all the install kits from the oXygen website. You can download a corrected version of oXygen 8.0 from: http://www.oxygenxml.com/download.html. ...