On 10/14/2011 12:23 PM, klaus e. werner wrote:
>
> I have a strange error which appears after updating to 5.0.0.
>
> Our RelaxNG-driven XMLs are all rendered with empty checkboxes,
> radio-buttons etc.
>
> See attached screenshots.
>
> XXE is not complaining about invalid XML, so ... something changed in
> the underlying CSS? Maybe the namespace definition or something?
>
> I attach the XML (and RelaxNG and CSS) also.
>

--> The <?xxe-relaxng-schema?> *proprietary* processing instruction is 
no longer supported. You now need to use the <?xml-model?> *standard* 
processing instruction. (See http://www.w3.org/TR/xml-model/)

Please replace:

<?xxe-relaxng-schema name="-//hyperrecord//hrecordML V0.1//EN"
location="hrecord/muscap.rng" encoding="UTF-8" ?>

by:

<?xml-model href="hrecord/muscap.rng" charset="UTF-8"
schematypens="http://relaxng.org/ns/structure/1.0";?>

and your problem should disappear.



--> As usual, this incompatibility is documented here:
http://www.xmlmind.com/xmleditor/changes.html#v5.0.0
---
Incompatibilities:
...
The <?xxe-relaxng-schema?> proprietary processing-instruction, allowing 
to associate a RELAX NG schema to a document instance, is no longer 
supported. Instead please use the <?xml-model?> processing-instruction. 
More information in "Associating Schemas with XML documents 1.0".
...
---


---
PS: I've noticed that you also have a:

<?oxygen RNGSchema="hrecord/muscap.rng" type="xml"?>

To my knowledge, recent releases of the oXygen XML Editor also support 
the <?xml-model?> standard processing instruction. So in principle, once 
you have added your <?xml-model?>, oXygen's proprietary processing 
instruction should no longer be useful.




 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to