facebook

[Workaround] XML Validation fails with XSLT

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #246950 Reply

    Riyad Kalla
    Member

    ahh I’m actually impressed you found that. I would have torn my hair out 😉

    #247093 Reply

    pcwappdev
    Member

    after 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&#8221; 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.

    #248223 Reply

    sanjeev_rao
    Member

    pcwappdev: Do you still see the problem you reported on Feb 20, 2006 – 12:10 PM?

    Just curious.

    #248231 Reply

    sanjeev_rao
    Member

    Myeclipse 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-1600

    MyEclipse Enterprise Workbench
    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA

    Thanks again,
    -Sanjeev

    #248268 Reply

    Riyad Kalla
    Member

    Sanjeev,
    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

    #269443 Reply

    xsl_user
    Member

    I 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”&gt;

    I’m using: eclipse 3.2.2, myeclipse 5.1.1. GA on windows

    #269446 Reply

    Riyad Kalla
    Member

    aitia.int,
    What does your XML Catalog entry look like? What does your XML example doc look like?

    #269448 Reply

    xsl_user
    Member

    Thank 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.

    #269455 Reply

    Riyad Kalla
    Member

    Strange, either way I’m glad it’s working now.

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: [Workaround] XML Validation fails with XSLT

You must be logged in to post in the forum log in