Announcement Announcement Module
Collapse
No announcement yet.
context namespace issues started to occur today...something changed? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • context namespace issues started to occur today...something changed?

    Hi all, from today on I received namespace issues when eclipse checked my application-context.xml:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <objects xmlns="http://www.springactionscript.org/schema/objects"
    		 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    		 xmlns:context="http://www.springactionscript.org/schema/context"
    		 xsi:schemaLocation="http://www.springactionscript.org/schema/objects http://www.springactionscript.org/schema/objects/spring-actionscript-objects-1.0.xsd
    		http://www.springactionscript.org/schema/context http://www.springactionscript.org/schema/context/spring-actionscript-context-1.0.xsd">
    
    	<context:metadata-config/>
    	<context:component-scan/>	
    </objects>
    The errors:
    Code:
    cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:metadata-config'.
    cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'.
    Any ideas?

  • #2
    Hi there,

    this is probably my fault, Spring Actionscript 2.0 is now officially in beta so I moved the 2.0 site to the main site. these 1.0 xsd's are missing from the new site. I will get them back a.s.a.p. but from where I'm working right now I can't reach the webserver, so it'll be a while longer. They'll be back soon though, I promise

    Sorry for the inconvenience,

    cheers,

    Roland

    Comment


    • #3
      xsd's moved

      Ow,

      I see they were moved here:

      http://www.springactionscript.org/sc...bjects-1.0.xsd

      I'll create the original directory as well for backwards compatibility, but for now you can just change the URL in your XML.

      cheers,

      Roland

      Comment


      • #4
        Thanks and good luck with the 2.0 development! Looking fwd to it. (as my code will be in production by the end of the month (the city of Oudenaarde will use it in its car permitting system) I haven't got to experiment a lot with 2.0)

        And FYI. it's not the object namespace which has issues, but the context namespace @ http://www.springactionscript.org/sc...ontext-1.0.xsd that disappeared.

        grts

        Comment


        • #5
          Hey there,

          ok, the http://www.springactionscript.org/sc...ontext-1.0.xsd file has returned
          Great to hear SpringAS is doing great for you, good luck with your project! Please try and take a look at version 2.0, I'm sure there's lots in there you'll find interesting.

          If you have missed them, there's been quite a few progress reports blogged about it. You can find the links to those here:

          http://labs.stackandheap.com/spring-...gress-reports/

          cheers,

          Roland

          Comment


          • #6
            Getting 403 access denied on http://www.springframework.org/schem...ontext-2.1.xsd -- related or ?

            Comment


            • #7
              nope,

              that is a Spring Java file, Spring Actionscript has nothing to with it I'm afraid. We are an extension project and are basically autonomous from anything Spring Java related.

              cheers,

              Roland

              Comment


              • #8
                Those errors are similar to what we started experiencing today.

                Roland, could this be related to this thread:
                http://forum.springsource.org/showth...-Schemas/page2

                It looks like some schemas (beans and util that I know of) have been removed. Any ideas?

                Thanks,
                Pete

                Comment


                • #9
                  It looks like some schemas (beans and util that I know of) have been removed. Any ideas?
                  Yeah, that's kinda what I meant when I said related -- not that the projects are related, but the missing schemas. Looks like they're back now though. Lesson learned -- only use xsd's that are in your jars!

                  Comment


                  • #10
                    Thanks for the help buddy.
                    I appreciate it a lot.

                    Comment

                    Working...
                    X