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

   Validation works, saving does not.
   
   0. I downloaded both zip and put contents into the folder 
`/home/matthias/Downloads/test/`:
       ```
       matthias@enterprise:~/src/netbeans$ ls -lh /home/matthias/Downloads/test/
       insgesamt 1016K
       -rw-rw-r-- 1 matthias matthias 721K Feb  7 09:03 corpora_linguistics.xsd
       -rw-rw-r-- 1 matthias matthias 259K Apr 26 07:59 E1-BEm.xml
       -rw-rw-r-- 1 matthias matthias 1,1K Apr 28 12:38 fa_tei_catalog.xml
       -rw-rw-r-- 1 matthias matthias  22K Feb  7 09:03 t.xsd
       -rw-rw-r-- 1 matthias matthias 2,3K Feb  7 09:03 xml.xsd
       matthias@enterprise:~/src/netbeans$
       ```
   2. Run NetBeans with a clean user + cachedir `nbbuild/netbeans/bin/netbeans 
--userdir xml-userdir --cachedir xml-cachedir`
   3. In "Tools -> Plugins -> Installed" select "Java SE" and activate the 
cluster
   4. Go to "Tools -> DTDs and XML Schemas"
   5. Choose "Add catalog"
   6. Choose "OASIS Catalog Resolver" as Type
   7. Enter `file:/home/matthias/Downloads/test/fa_tei_catalog.xml` as Catalog 
URL
   8. Leave "Prefer Public ID" selected and confirm with "OK"
   9. Close Dialog "DTDs and XML Schemas"
   10. Open `E1-BEm.xml`
   11. Right click into document choose "Validate XML`
   
   I get:
   
   ```
   XML validation started.
   Checking file:/home/matthias/Downloads/test/E1-BEm.xml...
   Referenced entity at 
"file:/home/matthias/Downloads/test/corpora_linguistics.xsd".
   Referenced entity at "file:/home/matthias/Downloads/test/t.xsd".
   Referenced entity at "file:/home/matthias/Downloads/test/xml.xsd".
   XML validation finished.
   ```
   
   12. Stop NetBeans, start again as in step 2
   13. Check "Tools -> DTDs and XML Schemas"
   
   => Catalog is not there anymore


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to