[
https://issues.jboss.org/browse/JBIDE-23045?page=com.atlassian.jira.plugi...
]
Josef Ludvicek commented on JBIDE-23045:
----------------------------------------
Thanks for analysis [~scabanovich].
Do I understand it correctly that xml validation (and auto completion in editor) works
only if you specify appropriate {{xsi:schemaLocation}} for each xml schema ?
What do you think about making the editor smarter by checking
* if the schema isn't valid url to schema file - it could be in many cases (all three
schemas from description work that way)
* eclipse already has a catalog of XSD / DTD schemas right ? If you select new xml file
wizard, there are options "Create XML from DTD file" and "Create XML from
XSD schema file"
* I think xml validator could take look if given schema is present in catalog
* We provide Fuse tooling with set of plugins for camel / jboss fuse. Editing
blueprint.xml and there is certain list of xml namespaces which are needed for Camel /
JBoss Fuse development. They could be added to catalog by fuse tooling
xml validator can't find xsd even though it's specified in
xml file
-------------------------------------------------------------------
Key: JBIDE-23045
URL:
https://issues.jboss.org/browse/JBIDE-23045
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: upstream
Affects Versions: 4.4.0.Final
Reporter: Josef Ludvicek
Assignee: Rob Stryker
Fix For: 4.4.x
Attachments: examle-blueprint.xml
RHDS xml validator can't find xsd schema in following xml file => validation
doesn't work
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
You under the Apache License, Version 2.0 (the "License"); you may not
use
this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0....
xmlns:enc="http://karaf.apache.org/xmlns/jasypt/v1.0.0"
xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0">
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)