XPath 3.1 map and array support in Schematron with queryBinding="xslt3"
Are you missing a feature? Request its implementation here.
			- 
				Martin Honnen
 - Posts: 102
 - Joined: Tue Aug 19, 2014 12:04 pm
 
XPath 3.1 map and array support in Schematron with queryBinding="xslt3"
Post by Martin Honnen »
When using Schematron with `queryBinding="xslt3"` and namespace declarations like `<sch:ns prefix="map" uri="http://www.w3.org/2005/xpath-functions/map"/>` I would like to see content completion for functions from that namespace like `map:merge`, `map:keys`.  The same for the XPath 3.1 array functions.
			
			
									
									
						- 
				tavy
 - Posts: 396
 - Joined: Thu Jul 01, 2004 12:29 pm
 
Re: XPath 3.1 map and array support in Schematron with queryBinding="xslt3"
Hello Martin,
In to see the functions in the content completion list you need to declare the namespace also on the Schematron root element. Something like this:
Best Regards,
Octavian
			
			
									
									In to see the functions in the content completion list you need to declare the namespace also on the Schematron root element. Something like this:
Code: Select all
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt3"
    xmlns:array="http://www.w3.org/2005/xpath-functions/array"
    xmlns:map="http://www.w3.org/2005/xpath-functions/map">
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
						<oXygen/> XML Editor
http://www.oxygenxml.com
- 
				Martin Honnen
 - Posts: 102
 - Joined: Tue Aug 19, 2014 12:04 pm
 
Re: XPath 3.1 map and array support in Schematron with queryBinding="xslt3"
Post by Martin Honnen »
Ah, I first had them declared on the root element but then found that Schematron needs the `ns` element, then I thought the namespace declaration would no longer be needed. So I need both to have the Schematron compiler happy and my failing memory happy to work with content completion.
Thanks.
			
			
									
									
						Thanks.
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
 - ↳ Feature Request
 - ↳ Common Problems
 - ↳ DITA (Editing and Publishing DITA Content)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ 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