I just starting looking at the Parsing Framework and I'd like to ask if is there a tool to help with creating the XML.EBNF files - or is it a manual effort ?
Thanks
Hi John, currently this is a manual process, but there is a sample in WinForms called CustomLanguage which has a basic XML grammar defined and should help get you started. However, you should note that the parsing framework is currently a CTP and we are working hard to get it to RTM status as soon as possible. As part of this effort, we will be making some breaking changes to the EBNF special sequence content accepted by the framework, so you may have to change your custom grammar files when upgrading. I cannot yet say what those might be because the final special sequence grammar has not been locked down yet.
And we do hope to create a utility to help create EBNF files in the future, but getting the parsing framework to RTM status is currently the highest priority.
Hi Mike,
I have been trying to use the syntax editor (in the XamSyntaxEditorStudio_WinForms sample) with the basic XML grammar file that is provided in the CustomLanguage Sample and it doesn't seem to work.
The CustomLanguage sample is good for viewing XML documents but it isn’t ideal for in-line editing.
Is there a sample you can point me to where the Syntax Editor provides editing of an XML document.
Shilpi
Hello,
Currently in WindowsForms there is no SyntxEditor, but you could use xamSytaxEditor and to host it in Windows Forms application. More information about xamSytaxEdtor you could find on the following link:
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.2/CLR4.0/html/xamSyntaxEditor.html
I hope that this will helps you.
Hi Hristo
As I mentioned in my query, I have already tried to host the xamSyntaxEditor in my windows application and I haven't been able to configure it for XML editing.
I have looked at the samples provided for it but I have not found support for XML editing, only for c# and vb!
Is there a sample that demonstrates the XML editing for the xamSyntaxEditor.
Please let me know.
After some research, the “Full support for XML language” has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI13020153.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Yes please can you submit a feature request on my behalf? It would be great to have XML editing support for this control like we do for c# and vb.
The XML grammar is currently only provided to show the structure of EBNF files and to demonstrate how they can be used to generate Grammar instances and LanguageBase-derived classes based on them. It has not been optimized for real editing or error reporting at this time, which is why it is not included in the main product. If the grammar provided is insufficient for your purposes, you can either enhance the XML grammar yourself or submit a feature request for this language to be fully supported by Infragistics. Would you like me to have a developer support engineer submit a feature request on your behalf?