facebook

xmlns:xi error

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

    asafbu
    Member

    I get the following error:

    Error:
    Attribute “xmlns:xi” must be declared for element type “prop”.

    <!DOCTYPE block SYSTEM “abc.dtd”>
    <prop xmlns:xi=”http://www.w3.org/2001/XInclude&#8221; id=”testRec”>

    </block>

    I cant seems to locate a problem with the above.

    Thanks

    #226341

    Riyad Kalla
    Member

    Don’t you mean xmlns:xsi, not just xi?

    #226342

    asafbu
    Member

    No, I meant xmlns:xi.

    Thanks

    #226345

    Riyad Kalla
    Member

    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/dom/5_ns.html

    Shouldn’t your <prop entry look likethis:
    <xi:prop …

    Atleast according to that link?

    #226354

    asafbu
    Member

    Not sure…

    This is an existing live project and these XML files are processed by XSLT. I was just curious if anybody
    else experienced the similar error(s).

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: xmlns:xi error

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