You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/02/08 01:23:25 UTC

[jira] Closed: (XMLBEANS-51) value for Xlink incorrect when creating new object

     [ http://issues.apache.org/jira/browse/XMLBEANS-51?page=history ]
     
Jacob Danner closed XMLBEANS-51:
--------------------------------

    Resolution: Duplicate

Duplicate of feature issue: http://issues.apache.org/jira/browse/XMLBEANS-107 

> value for Xlink incorrect when creating new object
> --------------------------------------------------
>
>          Key: XMLBEANS-51
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-51
>      Project: XMLBeans
>         Type: Wish
>     Versions: unspecified
>  Environment: Sun Solaris 8, Java sdk 1.4.2_05
>     Reporter: Yuzo Kanomata
>     Priority: Minor

>
> When creating new XML Objects, my defined "xmlns:xlink" attribute is shortened to "xmlns:xlin" and all reference to "xlink" become "xlin".
> For example, I have defined in the schema:
> <xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
>             xmlns:xlink='http://www.w3.org/1999/xlink'>
> ...
> <xsd:element name='foo'>
> <xsd:complexType>
>    <xsd:attribute ref='xlink:type' fixed='simple'/>
> ... etc
> So when I create foo ala:
> Foo f = FooDocument.Foo.Factory.newInstance();
> f.setType("URL-to-type");
> If you foo.toSting(), you get:
> <foo xmlns:lin="URL-to-type" ... etc >
> instead of the expected:
> <foo xmlns:link="URL-to-type" ... etc >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org