Feature Requests item #1005072, was opened at 2004-08-07 06:59
Message generated for change (Comment added) made by thompsonbry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=366035&aid=1005072&group_id=16035

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Dimitris Kolovos (skountouflis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Type of attributes

Initial Comment:
Maybe in a future release the Attr class could have a 
method that returs the DTD or XSD declared type of the 
attribute. This is something JDOM has (but only for DTD) 
and it would be helpful especially in the context of 
detecting IDs and IDREF(S)s

----------------------------------------------------------------------

Comment By: Bryan Thompson (thompsonbry)
Date: 2004-09-07 13:14

Message:
Logged In: YES 
user_id=916039

I also have a use case for this feature.  I just did a jdom 
integration for an xpointer framework.  It was a snap to use 
the Attribute.getAttributeType() method to identify when an 
attribute conveyed ID-ness.  JDOM also got this right both for 
validating and non-validaing parsers for the internal subset 
(both MUST report the ID-ness) and for validating parsers for 
the external subset (a non-validating parser MAY report ID-
ness specified in the external subset, but a validating parser 
MUST report it).

See the introduction of <a
 href="http://www.w3.org/2001/tag/doc/xmlIDsemantics-
32.html"> xmlIDSemantics-32 </a> for more details.

Thanks,

-bryan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=366035&aid=1005072&group_id=16035


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to