Announcement Announcement Module
Collapse
No announcement yet.
Namespace support Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Namespace support

    Hi all,

    I just committed a bunch of code to support custom xml namespaces and
    added a MessagingNamespaceHandler as an example (which I'm also using
    in a project right now but which is not 100% complete). In addition to
    that, I have also changed the default namespace to
    spring_actionscript_objects and updated all classes and tests
    accordingly.

    This required some changes to the main parser which could potentially
    break the framework. I was able to successfully run all tests but I
    would appreciate any feedback from people who are working with the SVN
    sources.

    Until the new schema's are uploaded to the springactionscript.org
    domain, you can find them here:
    - http://www.pranaframework.org/schema...bjects-1.0.xsd
    - http://www.pranaframework.org/schema...saging-1.0.xsd

    Here's an example xml declaration using the new namespaces:

    <objects
    xmlns="http://www.springactionscript.org/schema/objects"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:messaging="http://www.springactionscript.org/schema/messaging"
    xsi:schemaLocation="
    http://www.springactionscript.org/schema/objects
    http://www.pranaframework.org/schema...bjects-1.0.xsd
    http://www.springactionscript.org/schema/messaging
    http://www.pranaframework.org/schema/messaging/spring-actionscript-messaging-1.0.xsd"/>

    In order to use a custom namespace, you need to register it via the
    "addNamespaceHandler" method on the application context before loading it.

    Have fun!

    regards,
    Christophe
Working...
X