Dear oxygen colleagues,
I’d like to check a large XML file for conformance to the XML 1.0 character set:
https://www.w3.org/TR/REC-xml/#charsets
Is this check bundled in with well-formedness and/or validation checks?
Or is there another feature somewhere in oxygen I can use?
Check for conformance to the XML 1.0 character set?
Re: Check for conformance to the XML 1.0 character set?
Hi Michael,
Yes, Oxygen's wellformedness check should cover this. And any schema-based validation also does wellformedness checks.
Regards,
Radu
Yes, Oxygen's wellformedness check should cover this. And any schema-based validation also does wellformedness checks.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Check for conformance to the XML 1.0 character set?
Radu wrote:Hi Michael,
Yes, Oxygen's wellformedness check should cover this. And any schema-based validation also does wellformedness checks.
Regards,
Radu
Just to close out this topic in my own mind - does this mean that an XML 1.1 file which contains some characters allowed in 1.1 but NOT in 1.0 will be well-formed but if I change the XML version declaration to 1.0 it will not?
Re: Check for conformance to the XML 1.0 character set?
Hi,
Yes, that's correct. You can try with this:
If you switch to XML 1.0 it will fail the XML well-form check.
Regards,
Adrian
Yes, that's correct. You can try with this:
Code: Select all
<?xml version="1.1" encoding="UTF-8"?>
<root></root>
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Who is online
Users browsing this forum: No registered users and 1 guest