opensubscriber
   Find in this group all groups
 
Unknown more information…

c : commons-dev@jakarta.apache.org 24 July 2007 • 12:59AM -0400

[jira] Commented: (JXPATH-97) Incomplete handling of undefined namespaces
by Matt Benson (JIRA)

REPLY TO AUTHOR
 
REPLY TO GROUP





    [ https://issues.apache.org/jira/browse/JXPATH-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514680 ]

Matt Benson commented on JXPATH-97:
-----------------------------------

Sergey, could you resubmit your patch without all those formatting changes?  It makes it difficult to see where the "meat" of the change is.

Thanks,
Matt

> Incomplete handling of undefined namespaces
> -------------------------------------------
>
>                 Key: JXPATH-97
>                 URL: https://issues.apache.org/jira/browse/JXPATH-97
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: Nightly Builds, 1.2 Final
>            Reporter: Sergey Vladimirov
>             Fix For: 1.3
>
>         Attachments: NamespacesTest.java, patch.txt
>
>
> Mcduffey, Joe <jdmcduf@nsa....>
> Can someone tell me how to register namespaces so that attributes with namespaces does not cause the exception
> org.apache.common.ri.model.dom.DOMNodePointer.createAttribute
> unknown namespace prefix: xsi
> For example the following
> <ElementA  A:myAttr="Mytype">
>   <B:ElementB>MY VALUE</B:ElementB>
> </ElementA>
> Would result in the following exception:
> org.apache.common.ri.model.dom.DOMNodePointer.createAttribute
> unknown namespace prefix: A
> FYI: In this example there was a namespace decaration in the file and I also manually called the
> registerNamespace(A,"/http...");
> registerNamespace(B,"/http...");
> There was no problem encountered for elements. Only attributes. Can someone help? Thanks.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jaka...
For additional commands, e-mail: commons-dev-help@jaka...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.