<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi, <br>
<br>
I'm experiencing a problem trying to validate an XML produced as a
back-up of a WordPress blog. <br>
<br>
I'm trying to process it with XSLT 2.0, so for that it seems I need to
have a XSD schema (it doesn't like DTD). <br>
<br>
So I created a XSD schema through Document | XML Document | Learn
Structure + Save Structure. I associated the XSD generated to the XML
via Document | XML Document | Associate Schema. So the first two
attributes are added to the root element<br>
</font></font>
<blockquote><font size="-1"><font face="Helvetica, Arial, sans-serif"><rss
<b>xmlns:xsi=<a class="moz-txt-link-rfc2396E"
href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
</b></font></font><b><br>
</b> <font size="-1"><font face="Helvetica, Arial, sans-serif"><b> xsi:noNamespaceSchemaLocation="VDS.2009-02-11.xsd" </b>
</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> xmlns:dc=<a
class="moz-txt-link-rfc2396E" href="http://purl.org/dc/elements/1.1/">"http://purl.org/dc/elements/1.1/"</a></font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> xmlns:content=<a
class="moz-txt-link-rfc2396E"
href="http://purl.org/rss/1.0/modules/content/">"http://purl.org/rss/1.0/modules/content/"</a></font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> xmlns:excerpt=<a
class="moz-txt-link-rfc2396E"
href="http://wordpress.org/export/1.0/excerpt/">"http://wordpress.org/export/1.0/excerpt/"</a></font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> xmlns:wp=<a
class="moz-txt-link-rfc2396E" href="http://wordpress.org/export/1.0/">"http://wordpress.org/export/1.0/"</a></font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> xmlns:wfw=<a
class="moz-txt-link-rfc2396E"
href="http://wellformedweb.org/CommentAPI/">"http://wellformedweb.org/CommentAPI/"</a></font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"> version="2.0"></font></font><br>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">
and this line <br>
</font></font>
<blockquote><font size="-1"><font face="Helvetica, Arial, sans-serif"><?oxygen
SCHSchema="VDS.2009-02-11.xsd"?></font></font><br>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">
is added before the root element. <br>
<br>
Now, when I try to validate the XML document, it gives two errors: <br>
</font></font>
<blockquote><font size="-1"><font face="Helvetica, Arial, sans-serif">SystemID:
C:\Documents and Settings\manuel\Mis
documentos\Scripts\xml_to_martif\Corts_Valencianes\VDS.2009-02-11.xml</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Location:
28:0</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Description:
Cannot validate <rss>: no element declaration available</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">URL:
<a class="moz-txt-link-freetext"
href="http://www.w3.org/TR/xslt20/#err-XTTE1510">http://www.w3.org/TR/xslt20/#err-XTTE1510</a></font></font><br>
<br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">SystemID:
C:\Documents and Settings\manuel\Mis
documentos\Scripts\xml_to_martif\Corts_Valencianes\VDS.2009-02-11.xml</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Location:
28:0</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">Description:
Cannot validate <rss>: no element declaration available</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">URL:
<a class="moz-txt-link-freetext"
href="http://www.w3.org/TR/xslt20/#err-XTTE1510">http://www.w3.org/TR/xslt20/#err-XTTE1510</a></font></font><br>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">
and the bottom of the interface shows the message "Validation - in
progress" but I wait and it takes forever, it never ends.<br>
<br>
After a while, I get another error message: <br>
</font></font>
<blockquote><font size="-1"><font face="Helvetica, Arial, sans-serif">Please
restart after allocating more memory to oxygen.</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">For this
modify the parameter -Xmx in the startup script, for example -Xmx700m.</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">In case you
were running a diff tool when this problem occurred you can try to use
another algorithm next time.</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">For more
details see the 'Performance problems' and 'Setting a parameter in the
startup script' sections of the User Manual.</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif">If you just
want to inspect the file, please use the Large File Viewer available
from the Tools menu.</font></font><br>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">
Any help? Am I doing something wrong, or is this a bug? I tried
validating another simpler, shorter file and it works fine.<br>
<br>
Kind regards, <br>
Manuel</font></font>
</body>
</html>