Chris2011 commented on PR #7938:
URL: https://github.com/apache/netbeans/pull/7938#issuecomment-2564362589
@weisJ
> Loading will never throw an exception. If parsing is not possible then
null will be returned.
This is why I'm asking about the exceptions. I got a lot of exceptions is
parsing is not possible. For example, exceptions will throw for content
```svg
<>
```
or without closing tag
``` svg
<svg>
```
or with this sample
```svg
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1"
baseProfile="full"
width="300" height="200"
xmlns="http://www.w3.org/2000/svg">
<!-- Ein Rechteck in Rot -->
<rect x="10" y="10" width="100" height="100" fill="red" />
<!-- Hier der absichtlich fehlerhafte Kreis mit falsch geschlossenem Tag
-->
<g>
<circle cx="150" cy="60" r="50" fill="blue"></circl>
</g>
</svg>
```
--
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