Giter Club home page Giter Club logo

rinzo-xml-editor's Introduction

rinzo-xml-editor's People

Contributors

ccancinos avatar laurentmartelli avatar serranoc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rinzo-xml-editor's Issues

"Content Assist" did not complete normally

I have a problem with content assist based on a XML schema. When I open a XML file with a specific XML schema for the first time I got the following error when I try to use content assist :

java.lang.NullPointerException
    at ar.com.tadp.xml.rinzo.core.contentassist.processors.XMLContentAssistProcessor.addAttributeProposals(XMLContentAssistProcessor.java:49)
    at ar.com.tadp.xml.rinzo.core.contentassist.processors.CompositeXMLContentAssistProcessor.addAttributeProposals(CompositeXMLContentAssistProcessor.java:133)
    at ar.com.tadp.xml.rinzo.core.contentassist.processors.CompositeXMLContentAssistProcessor.computeCompletionProposal(CompositeXMLContentAssistProcessor.java:85)
    at ar.com.tadp.xml.rinzo.core.contentassist.processors.CompositeXMLContentAssistProcessor.computeCompletionProposals(CompositeXMLContentAssistProcessor.java:67)
    at ar.com.tadp.xml.rinzo.core.contentassist.processors.CompositeContentAssistProcessor.computeCompletionProposals(CompositeContentAssistProcessor.java:52)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1830)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:556)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:553)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:488)

If I open a new file with the same XML schema, the content assist works just fine.
Also, when I launch Eclipse I've got the following stack trace :

java.io.FileNotFoundException: C:\Developpement\runtime-EclipseApplication\.metadata\.plugins\ar.com.tadp.xml.rinzo.core\.cache\f7.xsd (Le fichier spécifié est introuvable)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:462)
    at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:424)
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.getSchema(XSDTagDefinitionProvider.java:225)
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.updateDefinition(XSDTagDefinitionProvider.java:119)
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.<init>(XSDTagDefinitionProvider.java:76)
    at ar.com.tadp.xml.rinzo.core.RinzoXMLEditor.getCompositeSchemaTagContainersRegistry(RinzoXMLEditor.java:331)
    at ar.com.tadp.xml.rinzo.core.RinzoXMLEditor.getTagContainersRegistry(RinzoXMLEditor.java:300)
    at ar.com.tadp.xml.rinzo.core.EditorUpdater.run(EditorUpdater.java:56)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.parseElementsFrom(XSDTagDefinitionProvider.java:124)
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.updateDefinition(XSDTagDefinitionProvider.java:119)
    at ar.com.tadp.xml.rinzo.core.model.tags.xsd.XSDTagDefinitionProvider.<init>(XSDTagDefinitionProvider.java:76)
    at ar.com.tadp.xml.rinzo.core.RinzoXMLEditor.getCompositeSchemaTagContainersRegistry(RinzoXMLEditor.java:331)
    at ar.com.tadp.xml.rinzo.core.RinzoXMLEditor.getTagContainersRegistry(RinzoXMLEditor.java:300)
    at ar.com.tadp.xml.rinzo.core.EditorUpdater.run(EditorUpdater.java:56)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

but the XML schema appears in the cache directory few seconds later.
I tried to create my own editor extending the RinzoXMLEditor but I couldn't find how to solve this issue.
Do you have an idea of where this problem could come from ?
Thanks,
Arthur

Add syntax coloring to xpath viewer result

When using the "Rinzo XPath" view, the result of an xpath expression filter is not currently displayed using syntax coloring but in a plain black text color.

It'll be great to have the same syntax coloring as the text editor on the filtered tags.

Not seeing error underlines on external files

Hi. This plugin is really great, I use it all the time with my work.

I noticed that when an XML file is opened that is not part of a project (external) it highlights matching tags, but it does not show underlines for when there is an error with well-formedness.

It only works when an XML file is part of a project. Is it possible to fix this?

Release 1.5.0

There were several issue closed as fixed.

When will next 1.5.0 be released?

Xml files without schema or dtd definition require a DOCTYPE (dtd definition) on validation

Some XML formats don't have Schema.
There should be way to define exclusion, so that Rinzo does not show error.

Example

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_composite_repositories.htm

<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='"Eclipse Project Test Site"'
    type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository'
    version='1.0.0'>
  <properties size='1'>
    <property name='p2.timestamp' value='1243822502499'/>
  </properties>
  <children size='2'>
    <child location='http://example.eclipse.org/childOne'/>
    <child location='http://example.eclipse.org/childTwo'/>
  </children>
</repository>

Proposal for setting regarding formatting of empty lines

It would be nice to be able to choose in the settings if empty lines shall be indented or not after formatting (using Ctrl+Shift+F).
Another related setting that would be nice is to choose if multiple empty lines shall be compressed to zero, one, two, ... empty lines when formatting.
indent4

Feature Request: Support for XSD 1.1

XSD Schema validation version 1.1 is becoming much more mainstream and offers significantly more robust validation. Adding support to Rinzo would be great!

Format on save

It would be nice if there was an option to format the edited XML file on save, similarly to the Save Actions in Java.

Plug-in ar.com.tadp.xml.rinzo.jdt was unable to load class ar.com.tadp.xml.rinzo.jdt.contentassist.processors.ClassNameContentAssistProcessor.

While opening pom.xml

I got error in ErrorLog (files opened OK)

eclipse.buildId=4.4.0.I20140122-2000
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.standard.product -showLocation
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product -showLocation

org.eclipse.equinox.registry
Error
Wed Apr 23 17:50:08 CST 2014
Plug-in ar.com.tadp.xml.rinzo.jdt was unable to load class ar.com.tadp.xml.rinzo.jdt.contentassist.processors.ClassNameContentAssistProcessor.

java.lang.NoClassDefFoundError: ar/com/tadp/xml/rinzo/core/contentassist/processors/IXMLContentAssistProcessor
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)
    at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:330)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:306)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:374)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:331)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:323)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:566)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at ar.com.tadp.xml.rinzo.core.XMLEditorConfiguration.addContentAssistProcessors(XMLEditorConfiguration.java:168)
    at ar.com.tadp.xml.rinzo.core.XMLEditorConfiguration.getContentAssistant(XMLEditorConfiguration.java:146)
    at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:464)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3424)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
    at ar.com.tadp.xml.rinzo.core.RinzoXMLEditor.createPartControl(RinzoXMLEditor.java:165)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:138)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
    at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
    at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
    at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:958)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:642)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:744)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:715)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:709)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:694)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:90)
    at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:185)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4731)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:208)
    at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
    at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
    at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
    at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
    at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
    at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
    at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:499)
    at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:466)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:657)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:369)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1085)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3103)
    at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3025)
    at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3007)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3003)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2967)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2958)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:541)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:500)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:268)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:233)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
    at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:50)
    at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
    at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
    at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:47)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:870)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:868)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1158)
    at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1265)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:312)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:146)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:612)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:565)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: java.lang.ClassNotFoundException: ar.com.tadp.xml.rinzo.core.contentassist.processors.IXMLContentAssistProcessor cannot be found by osgi.identity; osgi.identity="ar.com.tadp.xml.rinzo.jdt"; type="osgi.bundle"; version:Version="1.4.0"; singleton:="true"
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:331)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:323)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 130 more

Autocomplete is not working right with namespaces

The autocompletion is not taking into account a couple of ways a user can start typing to get tags in a namespace.

Given a xml using schema with a namespace called "utils":

  • If I type "u", "util", "<u", "<util", there should be proposals for tags using namespace "utils" but the editor is not doing so.
  • If I type "util:", "<util:", there should be proposals only for tags using namespace "utils" but the editor presents all available proposals for that point without taking into account the "util:"/"<util:" prefix as restriction

Adding XML character escaping

At the moment rinzo only escapes charactes in a string using HTML entities.
Now it should also escape charactersin a string using XML entities. Ie:
canción --> canción
eleições --> eleições

Always indent by tab character when indenting paragraph

Regardless of settings when pressed tab key the tab character is used to indent. In configuration set indent character space.

I think the solution is to override ProjectionViewer.doOperation and when operation is shift right or left then get tab char and size from preferences and set it for all types by setIndentPrefixes

Tycho build doesn't work

I suggest moving the the parent POM to the top of the tree, or create the right references from your child modules.

long lines in xml editor

Why is it the cursor jumps to the beginning of the line when I try to edit a long line?
I tried setting the Maximum line width to 999, no solution.
Since I often use long lines in my xml files this makes the editor impossible to work with.

The LGPL is incompatible with the EPL

Compatible licenses include MIT, BSD, ASL, and obviously the EPL. No one could ever combine this work into a larger work that is licensed under the EPL.

Auto format multiline comment adds extra LF each time

If a coment line is created longer than the set maximum line width, and auto formatted (ctrl-shift+f) once, the line is correctly wrapped to the next line.
If auto format is hit again, the comment is split with one word on the second line and the remainder of the words on a new line.
Each time auto format is run, it splits off one word in the comment. E.g.

<!-- This is my long comment that is longer than the allowed width field for a single line and will therefore be split -->

Format once:

<!-- This is my long comment that is longer than the allowed width field for a single
line and will therefore be split -->

Format again:

<!-- This is my long comment that is longer than the allowed width field for a single
line
and will therefore be split -->

and again...

<!-- This is my long comment that is longer than the allowed width field for a single
line
and
will therefore be split -->

false invalid content errors reported by Rinzo

my main xml contains a (valid) XInclude element, which imports a suitable element from a peer xml file into my main document
Rinzo complains about the XInclude element being not mentioned in the schema definition of my main document
however, if I drop the XInclude and copy paste the stuff from the peer xml by hand instead, Rinzo recognizes that as valid against my schema
as I understand it, Rinzo should treat the XInclude as a placeholder for the imported stuff and rather validate against that what will be imported rather than validating the XInclude
Anyway, Rinzo is still a useful tool.


Just uploaded some example files. There is two xml files: Route and UserInfo.
The supposedly ¿wrong error marker appears in route.xml at the line with the xinclude.
userinfo.xml is the file which gets included.
There is also two schema files: presentation and attributes.
presentation schema defines the correct structure for route.xml and
attributes schema is imported by the presentation schema.
Hope this helps.
Cheers.
Jörg


Just some more information, which I forgot to mention in my previous posts:
If I clear Rinzos error markes and open with normal Eclipse XML editor, that other editor does not detect any error in the file.
Cheers.
Jörg


Route.xml

<?xml version="1.0" encoding="UTF-8"?>
<entities xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns="http://www.xxx.com/rcm/presentation"
          xsi:schemaLocation="http://www.xxx.com/rcm/presentation ../xsd/presentation.xsd">

  <entity class="com.xxx.rcm.entities.route.Route" id="Route">
    <fields>
      <field id="R.name" field-name="name" type="NAME" mode="UserManaged" />
      <field id="R.label" field-name="routeAlias" type="TEXT" mode="UserManaged" />
      <field id="R.created" field-name="created" type="DATE" mode="SystemManaged" />
      <field id="R.lastEdit" field-name="lastEdited" type="DATE" mode="SystemManaged" />
      <field id="R.comment" field-name="comment" type="RICH_TEXT" mode="UserManaged" />
    </fields>
  </entity>
  <entity class="com.xxx.rcm.entities.route.RouteInfo" id="RouteInfo">
    <fields>
      <field id="RI.type" field-name="routeInfoType" type="TEXT" mode="SystemManaged" />
      <field id="RI.userName" field-name="userName" type="TEXT" mode="SystemManaged" />
      <field id="RI.date" field-name="timeInfo" type="DATE" mode="SystemManaged" />
    </fields>
  </entity>
  <xi:include href="UserInfo.xml" />
</entities>

UserInfo.xml

<!-- Is used in several entities -->
<entity class="com.xxx.rcm.entities.user.UserInfo" id="UserInfo">
  <fields>
    <field id="UI.name" field-name="username" type="TEXT" mode="SystemManaged" />
  </fields>
</entity>

attributes.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns="http://www.xxx.com/rcm/attributes"
           targetNamespace="http://www.xxx.com/rcm/attributes" elementFormDefault="qualified">

  <xs:simpleType name="FieldType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="DATE"/>
        <xs:enumeration value="DATETIME"/>
        <xs:enumeration value="EMAIL"/>
        <xs:enumeration value="FLOAT"/>
        <xs:enumeration value="INTEGER"/>
        <xs:enumeration value="NAME"/>
        <xs:enumeration value="PASSWORD"/>
        <xs:enumeration value="PATH"/>
        <xs:enumeration value="PORT"/>
        <xs:enumeration value="RICH_TEXT"/>
        <xs:enumeration value="TEXT"/>
        <xs:enumeration value="TIME"/>
      </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="FieldMode">
    <xs:restriction base="xs:string">
      <xs:enumeration value="merged"/>
      <xs:enumeration value="SystemManaged"/>
      <xs:enumeration value="UserManaged"/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>

presentation.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:att="http://www.xxx.com/rcm/attributes"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns="http://www.xxx.com/rcm/presentation"
           targetNamespace="http://www.xxx.com/rcm/presentation" elementFormDefault="qualified">

  <xs:import namespace="http://www.xxx.com/rcm/attributes" schemaLocation="attributes.xsd"/>

  <xs:element name="entities">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="entity"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="entity">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="fields"/>
      </xs:sequence>
      <xs:attribute name="class" use="required"/>
      <xs:attribute name="id" use="required" type="xs:string"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fields">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="field"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="field">
    <xs:complexType>
      <xs:attribute name="id" use="required" type="xs:string"/>
      <xs:attribute name="field-name" use="required" type="xs:string"/>
      <xs:attribute name="type" use="required" type="att:FieldType"/>
      <xs:attribute name="mode" type="att:FieldMode"/>
    </xs:complexType>
  </xs:element>

</xs:schema>

Format selection

When selected range of xml and pressed ctr+shift+F then only the selected text should be formated.
I dislike formatting whole text because I would loose history in a version control system.

Wrong outline

Wrong outline for this file

<?xml version='1.0' encoding='UTF-8'?>
<!--  
Copyright (C) 2013-2014, by [Paul Verest](http://eclipse-china.github.io/) within Nodeclipse http://www.nodeclipse.org
You can do whatever you want with this p2f file as long as you keep this license notice (MIT License).

[Enide - Eclipse Node.js IDE](http://www.nodeclipse.org/enide) Node.x (js,coffee,ts)
v0.16 move to nodeclipse.org
v0.16.0 JSDT for Closure, Closure Templates, LESS; GFMV 1.8.0;
    InstaSearch 1.5.5; Eclipse 4 Moonrise UI Theme 0.8.8;
    Jeeeyul Themes up to 1.7.10; 
    review all; Json Tools; Nodeclipse 0.12; up Git Addon; Coffee 0.4.0;
    Nodeclipse/Enide 0.16.0; remove 3 color plugins, see http://www.nodeclipse.org/updates repository


Usage: Save to local folder (Ctrl+S in most browsers)
 Make sure file extension is .p2f
 Start your Eclipse distribution
 File -> Import \ Install Software Items from File, select this file location on your device.
 If it fails, try later and|or with less items (1 at a time for example)
 Share this file with friends or colleagues.
 Check http://www.nodeclipse.org for news and updates.

WARNING: Not so good in Kepler:
    There are 2 bug in Eclipse 4.3 Kepler, that may make "File -> Import \ Install" usage not quick/comfortable.
    Please help to get Kepler bugs fixed by voting on these 2 bugs (you should be registered on eclipse.org and logged in).
         -  Bug 409685 - [Remediation] Eclipse 4.3 Kepler - Installation Remediation fails; no opt-out
            https://bugs.eclipse.org/bugs/show_bug.cgi?id=409685
         -  Bug 409802 - [import/export] Installation Remediation DOES NOT respect selected item in File-> Import .. -> Install Software Items from File "Import Software Configuration" Dialog
            https://bugs.eclipse.org/bugs/show_bug.cgi?id=409802
    Please vote on Eclipse bugs, see below.

    Any way you can 
    1) use this file as information source for update site values, and use Help -> Install New Software... 
    2) or use Nodeclipse Plugins List plugin for drag-and-drop installation ( http://www.nodeclipse.org/updates/pluginslist/ ).
    3) Download Eclipse with plugins included or update site archive from
    http://sourceforge.net/projects/nodeclipse/files/
    3) Use Nodeclipse CLI Installer
    npm install nodeclipse -g
    cd path/to/eclipse
    nodeclipse instal egit
    nodeclipse help install 


See also: 
- Configuration https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.help/contents/configuration.md#configuration
- Marketplace   http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide
- Solution page http://www.nodeclipse.org/enide 
- Support       http://www.nodeclipse.org/#support
- Issues        https://github.com/Nodeclipse/eclipse-node-ide/issues/
- Downloads     http://sourceforge.net/projects/nodeclipse/files/

Please use the #nodeclipse #enide tags to tweet about.

Say Thanks to Nodeclipse & Enide
Donate to keep the project evolving
https://coinbase.com/checkouts/e9ac3765ff998b0e03b9e91f73152fc1

-->
<?p2f version='1.0.0'?>
<p2f version='1.0.0'>
  <ius size='34'>
    <iu id='org.nodeclipse.pluginslist.feature.feature.group' name='0 Nodeclipse Plugins List' version='0.1.0.20130811-1427'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.eclipse.epp.mpc.feature.group' name='0 Marketplace Client' version='1.2.0.v20130612-1900'>
      <repositories size='1'>
        <repository location='http://download.eclipse.org/releases/kepler'/>
      </repositories>
    </iu>
    <iu id='org.nodeclipse.feature.group' name='1 Nodeclipse Core and Node.js' version='0.16.0-201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.nodeclipse.jjs.feature.feature.group' name='Nodeclipse Java 8 Nashorn JJS' version='0.16.0-201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.nodeclipse.phantomjs.feature.feature.group' name='Nodeclipse PhantomJS' version='0.16.0-201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.nodeclipse.mongodb.feature.feature.group' name='Nodeclipse MongoDB Shell Integration' version='0.16.0-201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.chromium.sdk.feature.group' name='1 ChromeDevTools SDK (required)' version='0.3.9.201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='org.chromium.debug.feature.group' name='1 Chromium JavaScript Remote Debugger (required)' version='0.3.9.201406090411'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='it.unibz.instasearch.feature.indigo.feature.group' name='InstaSearch' version='1.5.5'>
      <repositories size='1'>
        <repository location='http://code.inf.unibz.it/instasearch/downloads/'/>
      </repositories>
    </iu>
    <iu id='org.springsource.ide.eclipse.commons.quicksearch.feature.feature.group' name='Eclipse Quicksearch (Ctrl+Shift+L)' version='3.4.0.201310051510-RELEASE'>
      <repositories size='1'>
        <repository location='http://dist.springsource.com/release/TOOLS/update/e4.3/'/>
      </repositories>
    </iu>
    <iu id='org.eclipse.wst.jsdt.feature.feature.group' name='1 JSDT (JavaScript Development Tools) - Indigo' version='1.3.2.v201201112313-7G78FZvFC7sRekSz-g-nAlz'>
        <repositories size='1'>
          <repository location='http://download.eclipse.org/releases/indigo/'/>
        </repositories>
    </iu>
    <!-- TODO
    <iu id='org.eclipse.wst.jsdt.feature.feature.group' name='1 JSDT (JavaScript Development Tools) - Juno' version='1.4.0'>
        <repositories size='1'>
          <repository location='http://download.eclipse.org/releases/juno/'/>
        </repositories>
    </iu>
     -->
    <iu id='org.eclipse.wst.jsdt.feature.feature.group' name='1 JSDT (JavaScript Development Tools) - Kepler' version='1.5.0.v201301022000-7H7DFhZFC7sReqSz-frflXk'>
        <repositories size='1'>
          <repository location='http://download.eclipse.org/releases/kepler/'/>
        </repositories>
    </iu>
    <iu id='org.eclipselabs.jsdt.jquery_feature.feature.group' name='JSDT jQuery Integration (Optional)' version='1.6.0'>
      <repositories size='1'>
        <repository location='https://svn.codespot.com/a/eclipselabs.org/jsdt-jquery/updatesite/'/>
      </repositories>
    </iu>
    <iu id='com.eclipsesource.jshint.feature.feature.group' name='1 JSHint Eclipse Integration (needed)' version='0.9.9.20131029-1050'>
      <repositories size='1'>
        <repository location='http://github.eclipsesource.com/jshint-eclipse/updates/'/>
      </repositories>
    </iu>
    <iu id='markdown.editor.feature.feature.group' name='2 Markdown Editor (required)' version='1.1.0.201402240523'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/enide/Markdown/1.0.0/'/>
      </repositories>
    </iu>
    <iu id='code.satyagraha.gfm.viewer.feature.feature.group' name='2 GitHub Flavored Markdown (GFM) Viewer (needed)' version='1.8.3'>
        <repositories size='1'>
          <repository location='http://dl.bintray.com/satyagraha/generic/1.8.0/'/>
        </repositories>
    </iu>
    <iu id='org.eclipse.wst.jsdt.feature.feature.group' name='1 NJSDT (JSDT alternative when JSDT is not installed)' version='1.5.1.201309181633'>
      <repositories size='1'>
        <repository location='http://devtools.nexj.com/updatesite/'/>
      </repositories>
    </iu>
    <iu id='com.nexj.njsdoc.feature.feature.group' name='1 NJSDoc library (only with/require for NJSDT)' version='0.0.7.201309171714'>
      <repositories size='1'>
        <repository location='http://devtools.nexj.com/updatesite/'/>
      </repositories>
    </iu>
    <iu id='de.bastiankrol.startexplorer.feature.feature.group' name='StartExplorer (Start anything)' version='1.5.1'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='net.sourceforge.shelled.feature.group' name='ShellEd' version='2.0.3'>
        <repositories size='1'>
          <repository location='https://downloads.sourceforge.net/project/shelled/shelled/update'/>
        </repositories>
      </iu>
    <iu id='jsonedit-feature.feature.group' name='JSON Editor Plugin (Option 1 for Outline)' version='0.9.7'>
      <repositories size='1'>
        <repository location='https://sourceforge.net/projects/eclipsejsonedit/files/update'/>
      </repositories>
    </iu>
    <iu id='org.sweetlemonade.eclipse.json.feature.feature.group' name='Json Tools (better Option 2 for Outline)' version='1.0.3'>
      <repositories size='1'>
        <repository location='https://bitbucket.org/denmiroch/jsontools/src/default/JsonSite/'/>
      </repositories>
    </iu>
    <iu id='code.google.restclient.tool.feature.feature.group' name='RestClient Tool (Optional)' version='1.0.3'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='csep.feature.feature.group' name='CoffeeScript Editor (depends on XText, not 4.3.1+ compatible, see #19)' version='0.4.0.201403250304/'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/CoffeeScriptEditor/0.4.0-201403250304/'/>
      </repositories>
    </iu>
    <iu id='com.palantir.typescript.feature.feature.group' name='TypeScript Editor // not the latest' version='1.0.0.v20130802-2232'>
      <repositories size='1'>
        <repository location='http://eclipse-update.palantir.com/eclipse-typescript/'/>
      </repositories>
    </iu>
    <iu id='gitaddon.feature.feature.group' name='Nodeclipse Git Addon' version='1.0.0.20140303-0606'>
      <repositories size='1'>
        <repository location='http://dl.bintray.com/nodeclipse/nodeclipse/0.16/'/>
      </repositories>
    </iu>
    <iu id='com.xored.glance.feature.group' name='Glance Core (Highlight anywhere, Ctrl+Alt+F)' version='1.1.1'>
      <repositories size='1'>
        <repository location='http://eclipse-glance.googlecode.com/svn/site/'/>
      </repositories>
    </iu>
    <iu id='com.xored.glance.cvs.feature.group' name='Glance CVS' version='1.1.1'>
      <repositories size='1'>
        <repository location='http://eclipse-glance.googlecode.com/svn/site/'/>
      </repositories>
    </iu>
    <iu id='com.xored.glance.gef.feature.group' name='Glance GEF' version='1.1.1'>
      <repositories size='1'>
        <repository location='http://eclipse-glance.googlecode.com/svn/site/'/>
      </repositories>
    </iu>
    <iu id='org.eclipse.regexp.feature.feature.group' name='Regular Expression View' version='0.3.0'>
      <repositories size='1'>
        <repository location='http://zapletnev.github.io/eclipse-regexp/repository/'/>
      </repositories>
    </iu>
    <iu id='net.jumperz.app.MMonjaDB.feature.group' name='MongoDB MonjaDBFeature (own perspective)' version='1.0.16'>
        <repositories size='1'>
          <repository location='http://www.jumperz.net/update/'/>
        </repositories>
    </iu>
      <iu id='net.vtst.ow.eclipse.soy.feature.feature.group' name='Closure Templates' version='1.0.9.4'>
        <repositories size='1'>
          <repository location='http://www.normalesup.org/~simonet/soft/ow/update/'/>
        </repositories>
      </iu>
      <iu id='net.vtst.ow.eclipse.js.closure.feature.feature.group' name='JSDT for Closure' version='0.2.8'>
        <repositories size='1'>
          <repository location='http://www.normalesup.org/~simonet/soft/ow/update/'/>
        </repositories>
      </iu>
      <iu id='net.vtst.ow.eclipse.less.feature.feature.group' name='LESS' version='1.0.19'>
        <repositories size='1'>
          <repository location='http://www.normalesup.org/~simonet/soft/ow/update/'/>
        </repositories>
      </iu>
  </ius>
</p2f>

Auto tabs (feature request)

Could we please have auto spacing/tabs with closing tags? So if it's at the beginning of the line and I press TAB once, but it's 4 levels deep, I don't want it to just tab once but four times. The same way Eclipse works with source code.

Always puts attributes on different lines

I'm pretty sure this is new behaviour in 1.4.0.

But having a simple document such as

<?xml version="1.0" encoding="UTF-8"?>
<t a="A" b="B" c="C">
</t>

gets formatted into

<?xml version="1.0" encoding="UTF-8"?>
<t a="A"
  b="B"
  c="C">
</t>

I really want it to obey the maximum line width I have set

Code completion in Eclipse does not generate the correct tag if using namespaces

If I type the closing bracket of the following tag, the closing tag is not generated correctly.

exml:dummy
becomes
exml:dummy /dummy
(Brackets missing, since the markdown is not able to handle them.)

As you can see, the closing tag is missing the namespace.

The XML file starts with

<exml:component xmlns:exml="http://www.jangaroo.net/exml/0.8"
xmlns="exml:ext.config"
xmlns:editor="exml:com.coremedia.cms.editor.sdk.config"
baseClass="com.coremedia.blueprint.studio.components.PathDoctypeContentSelectorPropertyFieldBase">

Tested on Eclipse Kepler, Rinzo XML 1.4.0.

Change file, undo, shows file as changed

Using
Eclipse Juno SR2 and Rinzo XML 1.1.2
The undo typing command does not work correctly:
If I open a file make a single change to it and undo the change (either using Ctrl+Z or the Edit menu in Eclipse) the file is shown as changed in the eclipse user interface. That is the file appears as modified with an * in the file name and the save button in enabled.

Class property suggestions

It would be absolutely great if the content assist of Rinzo could do class property suggestions, so in the "name=..." element of the "<property..." tag, Rinzo would show a pop up with all public properties of the "MyBean" class, like the "text" property.

*Feature requested by email

Autocomplete is not propossing the right elements using namespaces

Inside the document's root tag the proposasl using a namespace are displayed with the tag names of the proposals using the default namespace.

Also, inside a tag using namespaces (ie: "beans:bean") the proposals of other namespaces defined in the document (ie: "aop:xxx") are not filtered correctly for the current tag.

Typo in Eclipse Preferences

Hi

Minor issue, but in my eclipse preferences, Under 'Rinzo XML', the sub-menu 'Syntax Colorign' is spelt incorrectly. (should be 'Coloring'?)

This should be something very easily fixable.

I'm running Rinzo 1.4.0 on Eclipse 4.4.0.

-R
rinzo

Format deletes whitespace

The formatting function 'CTRL+SHIFT+F' deletes leading and following whitespace, e.g.

<Description>  test
 test
 test
 test  </Description>

results in

<Description>test
 test
 test
 test</Description>

Format XML removes blank lines

Hi guys,

Thanks for the great work on Rinzo XML!

I have a small bug fix: when I open an XML file (such as pom.xml) and choose to 'reformat' (Ctrl+Shift+F) Rinzo removes any blank lines in my XML.

Could this be optional? I like putting blank lines between POM sections such as 'dependencies' and 'build' for clarity.

Caching external files

Ok so after losing several hours of work, I have to report this bug. O opened an XML file from my file system (not in a project) in Eclipse with Rinzo. It opened fine. A while later, I generated an XML in the same place with the same name, but with different content, opened it the same way, but the contents are identical to the file I previously opened and closed.

This tells me that some kind of caching is going on, and it wasn't until I opened the files with Notepad that I noticed that they were in fact being updated, while Rinzo was showing no changes.

Syntax Coloring: cannot change color of equal sign

Using Eclipse Juno SR2 and Rinzo XML editor 1.1.2
There is not option to change the color of the equals sign in the Window->Preferences->Rinzo XML menu.
For example if I make the background black and I have the following code:

<module name="Velocity_up" units="m/s">1</module>

The equal sign is black and I cannot see it because it blends with the background.
It seems there is no way to change the color of the = sign.

Generate JAXB java bean model and parser from an xml implementing an xsd schema

Handling xml files in a project usually requires to converting it to/from java objects in order to use the xml information into the logic of the project.

The idea of this feature is to be able to generate a generic JAXB java bean model and its marshall/unmarshall logic having as input information an xml declaring one or several xsd schemas plus the required information gathered through a wizard such as:

  • source directory destination of the generated code
  • package destination of the generated code
  • encoding used on generated files
  • JAXB target version
  • JAXB binding files to alter default code generation

In addition it'll be added some of the extensions to enhance the generated code.
Currently supported ones from this page https://java.net/projects/jaxb2-commons/pages/Home are:

  • Fluent API plugin
  • Value constructor plugin
  • Default value plugin
    Which will be used or not according to selection in the configuration wizard.

In this initial implementation the generated code will be as generic as possible leaving to the developer the responsibility of customizations such as marshalling/unmarshalling of partial xml, bindings, etc..

Configure xsd, dtd generation

Today creation only allows to configure the filename of the xsd/dtd
The idea will to open a dialog where it could be configured at least:

  • Generated file name
  • Structure definition type: xml schema, dtd, relax ng, relax ng compact
  • File encoding

Multi-level indentation not correct

indent

In the examples above the cursor is placed in the end of line 5 and enter key is pressed. The resulting intentation is too large.

In the example below the same action has been done on all levels, this is the result:
1st level of indentation (after root tag): 0 tabs => NOK (should be 1 tab)
2nd level of indentation (after foo tag): 2 tabs => OK
3rd level of indentation (after bar tag): 4 tabs => NOK (should be 3 tabs)
4th level of indentation (after baz tag): 6 tabs => NOK (should be 4 tabs)
5th level of indentation (after qux tag): 8 tabs => NOK (should be 5 tabs)

indent2

Not seeing error underlines

I'm using Rinzo with Eclipse CDT Mars and I'm not seeing any error underlines, neither for well-formedness nor schema validation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.