Search found 23 matches
Search found 23 matches
• Page 1 of 1
- by twcook
- Wed Mar 25, 2015 8:57 pm
- Forum: XML Schemas
- Topic: Xpath result vs. xs:assert result
- Replies: 8
- Views: 8518
Re: Xpath result vs. xs:assert result
Ahhh, duh.Patrik wrote:You need to validate the Test-xsd file against the schematron file DerivedAssert.sch
I thought the validation scenario would 'magically' load the schematron file.
But yes it works as you described and I think this will work just fine.
Cheers,
Tim
- by twcook
- Wed Mar 25, 2015 3:58 pm
- Forum: XML Schemas
- Topic: Xpath result vs. xs:assert result
- Replies: 8
- Views: 8518
Re: Xpath result vs. xs:assert result
Thanks for this Patrik. It certainly looks like it is a start. However, just copying the files into oXygen (saving them in the same directory) and setting a Validation scenario to use Saxon and embedded Schematron still shows a valid XSD. I am not an oXygen guru so maybe I am missing something in th...
- by twcook
- Fri Mar 20, 2015 11:28 pm
- Forum: XML Schemas
- Topic: Xpath result vs. xs:assert result
- Replies: 8
- Views: 8518
Re: Xpath result vs. xs:assert result
Note that you can use any xpath and call xslt function in the schematron rules. Thus, i can hardly imagine anything more flexible than that. Didn't test it but you could probably even implement a very generic schematron rule that actually evaluates an xpath expression written in the xsd. Then you c...
- by twcook
- Fri Mar 20, 2015 1:41 pm
- Forum: XML Schemas
- Topic: Xpath result vs. xs:assert result
- Replies: 8
- Views: 8518
Re: Xpath result vs. xs:assert result
Thanks for the description. I think I need something more generic and flexible than using the schematron approach. I need to re-think some other aspects of the overall system.
- by twcook
- Thu Mar 19, 2015 4:11 pm
- Forum: XML Schemas
- Topic: Xpath result vs. xs:assert result
- Replies: 8
- Views: 8518
Xpath result vs. xs:assert result
XML Editor 16.1 using SaxonEE set for XML Schema 1.1 I want to insure that elements in a complexType that is a restriction of a base complexType, have the same number of enumerations. (Code below) The sample below should fail this assert: <xs:assert test="count(//xs:element[@name='id-name']//xs...
- by twcook
- Fri Nov 14, 2014 7:58 pm
- Forum: XML Schemas
- Topic: Xerces Version
- Replies: 1
- Views: 3243
Xerces Version
I have a need to know the version of Xerces that is shipped with oXygen 16.1; frankly because it works well for me. But there seems to be some confusion in the Xerces user community between 2.11.0 and a 2.11.0 beta dist that supposedly has the support for XML Schema 1.1 The version in 16.1 does what...
- by twcook
- Thu Jul 31, 2014 12:56 pm
- Forum: XQuery
- Topic: MarkLogic XQuery Support
- Replies: 2
- Views: 5736
Re: MarkLogic XQuery Support
Apologies, I copied the incorrect error:
XQST0031: Unsupported XQuery version 1.0-ml
is the correct one.
XQST0031: Unsupported XQuery version 1.0-ml
is the correct one.
- by twcook
- Thu Jul 31, 2014 12:40 pm
- Forum: XQuery
- Topic: MarkLogic XQuery Support
- Replies: 2
- Views: 5736
MarkLogic XQuery Support
Does the Enterprise version of oXygen support 1.0-ml XQuery? Currently I get a Saxon Error:
err:XPST0003
It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
err:XPST0003
It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF.
- by twcook
- Wed Oct 30, 2013 6:40 pm
- Forum: Feature Request
- Topic: xs:assert support in generated instances
- Replies: 1
- Views: 1789
xs:assert support in generated instances
Okay, for version 18.0 or 20.0
But you can at least put it on the list to support the evaluation of xs:asserts when generating sample instance data.
Thanks,
Tim
But you can at least put it on the list to support the evaluation of xs:asserts when generating sample instance data.
Thanks,
Tim
- by twcook
- Wed Oct 30, 2013 6:38 pm
- Forum: Feature Request
- Topic: What about Git support?
- Replies: 102
- Views: 64108
Re: What about Git support?
eloralon wrote:Hello,
When do you plan to support Git repository in oXygen XML?
Our project needs to keep all development tasks on Git.
Thanks.
+1
- by twcook
- Sat Dec 15, 2012 11:31 pm
- Forum: XML Schemas
- Topic: Xerces 2.11 beta
- Replies: 2
- Views: 3427
Xerces 2.11 beta
As I understand it. Xerces 2.11 beta now correctly supports the versioned namespace for the XML Schema Langauge. So the schema now needs to refer to the version instead of using a commandline option. For example: xmlns:xs="http://www.w3.org/2001/XMLSchema/v1.1" instead of: xmlns:xs="h...
- by twcook
- Thu Sep 13, 2012 5:56 pm
- Forum: XML Schemas
- Topic: Invalid Schema
- Replies: 6
- Views: 6408
Re: Invalid Schema
That would be great. I really need to get this working.Let me know, if you'd like beta access to a beta build of Oxygen v14.1. It might be easier to check these problems by yourself.
Thanks,
Tim
- by twcook
- Thu Sep 13, 2012 3:03 pm
- Forum: XML Schemas
- Topic: Invalid Schema
- Replies: 6
- Views: 6408
Re: Invalid Schema
Okay, I managed to create an approach that seems to work using ref="" and substitutiongroups. Here is a sample base schema followed by a constraint schema. <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFor...
- by twcook
- Wed Sep 12, 2012 11:11 pm
- Forum: XML Schemas
- Topic: Invalid Schema
- Replies: 6
- Views: 6408
Re: Invalid Schema
Thanks for the prompt reply Adrian. The items you mentioned are related. They are derived from the parent. However, as was pointed out to me on the xml-dev list; using xs:extension and then xs:restriction breaks the chain of ancestry. It is rather obscure in the specs. But Micheal Kay walked me thro...
- by twcook
- Tue Sep 11, 2012 3:59 pm
- Forum: XML Schemas
- Topic: Invalid Schema
- Replies: 6
- Views: 6408
Invalid Schema
This is essentially the same issue I had under the Invalid Restriction subject in this forum. However, I have created a smaller version of the two schemas as an easier way to look at the problem. The base schema aka. reference model. <?xml version="1.0" encoding="UTF-8"?> <xs:sch...
- by twcook
- Tue Aug 28, 2012 5:07 pm
- Forum: XML Schemas
- Topic: Invalid Restriction?
- Replies: 7
- Views: 6715
Re: Invalid Restriction?
I believe I found the answer in http://www.w3.org/2007/XMLSchema-versioning/Regarding the version number. Yes, I wanted to express XSD 1.1. In many cases, the modeler will need to use assertions in the restriction schemas. So how does one indicate that XML Schema 1.1 is in use?
Thanks,
Tim
- by twcook
- Tue Aug 28, 2012 4:55 pm
- Forum: XML Schemas
- Topic: Invalid Restriction?
- Replies: 7
- Views: 6715
Re: Invalid Restriction?
Thanks so much Adrian. I actually thought the reverse order was correct. So to state the answer; elements that are inherited (is that the correct word in XSD?) in an extension, are listed first when used in a later restriction sequence. Regarding the namespace discussion (which turned out to be a ba...
- by twcook
- Mon Aug 27, 2012 6:24 pm
- Forum: XML Schemas
- Topic: Invalid Restriction?
- Replies: 7
- Views: 6715
Re: Invalid Restriction?
Just to be more specific. In the above schema; ct_e6c3c31f_58d3_45d6_8b4d_7694c81c8bcb and ct_90e6df33_fe19_458f_9e3f_2e6ee3db75fa each give the same error: F [Saxon-EE 9.4.0.3] The content model of the complex type ct_90e6df33_fe19_458f_9e3f_2e6ee3db75fa is not a valid restriction of the content mo...
- by twcook
- Mon Aug 27, 2012 6:18 pm
- Forum: XML Schemas
- Topic: Invalid Restriction?
- Replies: 7
- Views: 6715
Re: Invalid Restriction?
Thanks for the explanation. It helped with my understanding. However, I don't think we have hit on the problem yet. They both have the same namespace and I use include for mlhim2.xsd. Just for some context, the base schema is a very broad set of definitions and the restriction schemas (ccd_???) repr...
- by twcook
- Mon Aug 27, 2012 6:11 pm
- Forum: XML Schemas
- Topic: Derivation Depth?
- Replies: 3
- Views: 3457
Re: Derivation Depth?
The base schema mlhim2.xsd is available at: http://www.mlhim.org/xmls/mlhim2/2_3_1/mlhim2.xsd Here is a derivative schema: ccd_f9493153_8960_4974_8725_3bf824319ac8.xsd <?xml version="1.1" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ml...
- by twcook
- Mon Aug 27, 2012 11:15 am
- Forum: XML Schemas
- Topic: Derivation Depth?
- Replies: 3
- Views: 3457
Re: Derivation Depth?
After setting the parser to Saxon EE and version to 1.1; this problem disappeared.
Thanks.
Thanks.
- by twcook
- Sat Aug 25, 2012 6:14 pm
- Forum: XML Schemas
- Topic: Invalid Restriction?
- Replies: 7
- Views: 6715
Invalid Restriction?
The Error: System ID: /home/tim/MLHIM/slot-example/ccd_8057ea74_47d8_470d_b9b9_a0b9a8e3b8c0.xsd Main validation file: /home/tim/MLHIM/slot-example/ccd_8057ea74_47d8_470d_b9b9_a0b9a8e3b8c0.xsd Engine name: Saxon-EE 9.4.0.3 Severity: fatal Description: The content model of the complex type ct_05363e2b...
- by twcook
- Sat Aug 25, 2012 12:13 pm
- Forum: XML Schemas
- Topic: Derivation Depth?
- Replies: 3
- Views: 3457
Derivation Depth?
Is there a limit to derivation levels in XML Schema 1.1? I get this error: E [Xerces] rcase-NameAndTypeOK.7: The type of element 'definition', 'ct_013f4560_9b34_4081_9162_e58245cec514', is not derived from the type of the base element, 'DefinitionType'. When in fact ct_013f4560_9b34_4081_9162_e58245...
Search found 23 matches
• Page 1 of 1
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service