- This topic has 23 replies, 6 voices, and was last updated 18 years ago by
Riyad Kalla.
-
AuthorPosts
-
Riyad KallaMemberahh I’m actually impressed you found that. I would have torn my hair out 😉
pcwappdevMemberafter all that, I’ve discovered that it doesn’t really “validate” my xsl file, it just checks to see that it is well formed xml.
For example, the following xsl file:
<?xml version=”1.0″?>
<xsl:stylesheet xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” version=”1.0″>
<xsl:badxsl>some bad xsl</xsl:badxsl>
</xsl:stylesheet>Validates fine under myeclipse, but it is clearly not valid xsl. It would be nice if the validation actually told me if my xsl file was valid xsl, not just well formed xml.
sanjeev_raoMemberpcwappdev: Do you still see the problem you reported on Feb 20, 2006 – 12:10 PM?
Just curious.
sanjeev_raoMemberMyeclipse support personnel: Please describe how you created that XSL file where you seemed to have full XSL edtor functionality especially validation and code-assist/code completion. For some reason, I do not seem to be able to get it to work.
Eclipse SDK
Version: 3.1.2
Build id: M20060118-1600MyEclipse Enterprise Workbench
Version: 4.1.1 GA
Build id: 20060228-4.1.1-GAThanks again,
-Sanjeev
Riyad KallaMemberSanjeev,
That was the point of this thread, be sure to start at the beginning of the thread: https://www.genuitec.com/forums/topic/workaround-xml-validation-fails-with-xslt/&postdays=0&postorder=asc&start=0
xsl_userMemberI have the same problem. I added an entry to the xml catalog as described above, but I still can’t use auto completition, and validation. Do I have to do anything else?
This is the starting of my xsd:
<?xml version=”1.0″ encoding=”ISO-8859-2″?>
<xsl:stylesheet version=”1.1″ xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”>I’m using: eclipse 3.2.2, myeclipse 5.1.1. GA on windows
Riyad KallaMemberaitia.int,
What does your XML Catalog entry look like? What does your XML example doc look like?
xsl_userMemberThank you for the quick replay.
Now, it seems like the problem is solved. For some reason it did not work for the first time I tryed. I realy don’t know what happened.
Riyad KallaMemberStrange, either way I’m glad it’s working now.
-
AuthorPosts