matthiasblaesing commented on issue #6226:
URL: https://github.com/apache/netbeans/issues/6226#issuecomment-1644403536

   You are missing the schema reference. That ties the schema to the XML. If 
you update the document `mtn_2020-06-29_full_S1_R0` like this:
   
   ```xml
   <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <rde:deposit xmlns:rde="urn:ietf:params:xml:ns:rde-1.0"
                xmlns:rdeHost="urn:ietf:params:xml:ns:rdeHost-1.0"
                xmlns:rdeEppParams="urn:ietf:params:xml:ns:rdeEppParams-1.0"
                xmlns:epp="urn:ietf:params:xml:ns:epp-1.0"
                xmlns:ns5="urn:ietf:params:xml:ns:rdeCsv-1.0"
                xmlns:rdeHeader="urn:ietf:params:xml:ns:rdeHeader-1.0"
                xmlns:rdeNNDN="urn:ietf:params:xml:ns:rdeNNDN-1.0"
                xmlns:rdeIDN="urn:ietf:params:xml:ns:rdeIDN-1.0"
                xmlns:rdeRegistrar="urn:ietf:params:xml:ns:rdeRegistrar-1.0"
                xmlns:rdeDomain="urn:ietf:params:xml:ns:rdeDomain-1.0"
                xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
                xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1"
                xmlns:rdeContact="urn:ietf:params:xml:ns:rdeContact-1.0"
                xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                xsi:schemaLocation="urn:ietf:params:xml:ns:rde-1.0 rde-1.0.xsd"
                type="FULL"
                id="F202006291123"
                resend="0">
   ```
   
   You'll get further:
   
   ```
   XML validation started.
   Checking 
file:/home/matthias/tmp/MultiSchemaValidation/xml/mtn_2020-06-29_full_S1_R0.xml...
   Referenced entity at 
"file:/home/matthias/tmp/MultiSchemaValidation/xml/rde-1.0.xsd".
   Referenced entity at 
"file:/home/matthias/tmp/MultiSchemaValidation/xml/eppcom-1.0.xsd".
   cvc-complex-type.2.4.a: Ungültiger Content wurde beginnend mit Element 
'{"urn:ietf:params:xml:ns:rdeHeader-1.0":header}' gefunden. 
'{"urn:ietf:params:xml:ns:rde-1.0":content}' wird erwartet. [35] 
   XML validation finished.
   ```
   
   As you can see, NetBeans now loads the `rde-1.0.xsd` and `eppcom-1.0.xsd`. 
The latter is referenced in line 14 -15 in `rde-1.0.xsd`.
   
   What is problematic though is, that the NetBeans UserCatalog can't be used 
to resolve Namespaces to URIs. See: Menu "Tools" -> "DTDs und XML Schemas". The 
UserCatalog is writeable and you should be able to register your schemas there. 
But this currently does not work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to